Commit 09322074 authored by jsbell@chromium.org's avatar jsbell@chromium.org

Service Workers: Clean up cpplint.py warnings

All trivial.

Review URL: https://codereview.chromium.org/397933003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284212 0039d316-1c4b-4281-b951-d872f2087c98
parent 4091f5c8
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
#include "content/browser/service_worker/embedded_worker_instance.h" #include "content/browser/service_worker/embedded_worker_instance.h"
#include <algorithm>
#include <utility>
#include "base/bind_helpers.h" #include "base/bind_helpers.h"
#include "content/browser/devtools/embedded_worker_devtools_manager.h" #include "content/browser/devtools/embedded_worker_devtools_manager.h"
#include "content/browser/service_worker/embedded_worker_registry.h" #include "content/browser/service_worker/embedded_worker_registry.h"
......
...@@ -44,6 +44,7 @@ class EmbeddedWorkerInstanceTest : public testing::Test { ...@@ -44,6 +44,7 @@ class EmbeddedWorkerInstanceTest : public testing::Test {
TestBrowserThreadBundle thread_bundle_; TestBrowserThreadBundle thread_bundle_;
scoped_ptr<EmbeddedWorkerTestHelper> helper_; scoped_ptr<EmbeddedWorkerTestHelper> helper_;
private:
DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerInstanceTest); DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerInstanceTest);
}; };
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
#include "content/browser/service_worker/embedded_worker_test_helper.h" #include "content/browser/service_worker/embedded_worker_test_helper.h"
#include <map>
#include <string>
#include "base/bind.h" #include "base/bind.h"
#include "content/browser/service_worker/embedded_worker_instance.h" #include "content/browser/service_worker/embedded_worker_instance.h"
#include "content/browser/service_worker/embedded_worker_registry.h" #include "content/browser/service_worker/embedded_worker_registry.h"
......
...@@ -45,7 +45,7 @@ class EmbeddedWorkerTestHelper : public IPC::Sender, ...@@ -45,7 +45,7 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
public: public:
// Initialize this helper for |context|, and enable this as an IPC // Initialize this helper for |context|, and enable this as an IPC
// sender for |mock_render_process_id|. // sender for |mock_render_process_id|.
EmbeddedWorkerTestHelper(int mock_render_process_id); explicit EmbeddedWorkerTestHelper(int mock_render_process_id);
virtual ~EmbeddedWorkerTestHelper(); virtual ~EmbeddedWorkerTestHelper();
// Call this to simulate add/associate a process to a worker. // Call this to simulate add/associate a process to a worker.
......
...@@ -85,7 +85,7 @@ void ExpectRegisteredWorkers( ...@@ -85,7 +85,7 @@ void ExpectRegisteredWorkers(
class RejectInstallTestHelper : public EmbeddedWorkerTestHelper { class RejectInstallTestHelper : public EmbeddedWorkerTestHelper {
public: public:
RejectInstallTestHelper(int mock_render_process_id) explicit RejectInstallTestHelper(int mock_render_process_id)
: EmbeddedWorkerTestHelper(mock_render_process_id) {} : EmbeddedWorkerTestHelper(mock_render_process_id) {}
virtual void OnInstallEvent(int embedded_worker_id, virtual void OnInstallEvent(int embedded_worker_id,
...@@ -100,7 +100,7 @@ class RejectInstallTestHelper : public EmbeddedWorkerTestHelper { ...@@ -100,7 +100,7 @@ class RejectInstallTestHelper : public EmbeddedWorkerTestHelper {
class RejectActivateTestHelper : public EmbeddedWorkerTestHelper { class RejectActivateTestHelper : public EmbeddedWorkerTestHelper {
public: public:
RejectActivateTestHelper(int mock_render_process_id) explicit RejectActivateTestHelper(int mock_render_process_id)
: EmbeddedWorkerTestHelper(mock_render_process_id) {} : EmbeddedWorkerTestHelper(mock_render_process_id) {}
virtual void OnActivateEvent(int embedded_worker_id, virtual void OnActivateEvent(int embedded_worker_id,
......
...@@ -628,7 +628,7 @@ TEST(ServiceWorkerDatabaseTest, Registration_Overwrite) { ...@@ -628,7 +628,7 @@ TEST(ServiceWorkerDatabaseTest, Registration_Overwrite) {
&newly_purgeable_resources)); &newly_purgeable_resources));
EXPECT_EQ(data.version_id, deleted_version_id); EXPECT_EQ(data.version_id, deleted_version_id);
ASSERT_EQ(resources1.size(), newly_purgeable_resources.size()); ASSERT_EQ(resources1.size(), newly_purgeable_resources.size());
for(size_t i = 0; i < resources1.size(); ++i) for (size_t i = 0; i < resources1.size(); ++i)
EXPECT_EQ(newly_purgeable_resources[i], resources1[i].resource_id); EXPECT_EQ(newly_purgeable_resources[i], resources1[i].resource_id);
// Make sure that |updated_data| is stored and resources referred from |data| // Make sure that |updated_data| is stored and resources referred from |data|
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
#include <vector>
#include "base/id_map.h" #include "base/id_map.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/strings/string16.h" #include "base/strings/string16.h"
......
...@@ -71,6 +71,8 @@ class ServiceWorkerHandleTest : public testing::Test { ...@@ -71,6 +71,8 @@ class ServiceWorkerHandleTest : public testing::Test {
scoped_ptr<EmbeddedWorkerTestHelper> helper_; scoped_ptr<EmbeddedWorkerTestHelper> helper_;
scoped_refptr<ServiceWorkerRegistration> registration_; scoped_refptr<ServiceWorkerRegistration> registration_;
scoped_refptr<ServiceWorkerVersion> version_; scoped_refptr<ServiceWorkerVersion> version_;
private:
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerHandleTest); DISALLOW_COPY_AND_ASSIGN(ServiceWorkerHandleTest);
}; };
......
...@@ -395,7 +395,7 @@ TEST_F(ServiceWorkerJobTest, RegisterDuplicateScript) { ...@@ -395,7 +395,7 @@ TEST_F(ServiceWorkerJobTest, RegisterDuplicateScript) {
class FailToStartWorkerTestHelper : public EmbeddedWorkerTestHelper { class FailToStartWorkerTestHelper : public EmbeddedWorkerTestHelper {
public: public:
FailToStartWorkerTestHelper(int mock_render_process_id) explicit FailToStartWorkerTestHelper(int mock_render_process_id)
: EmbeddedWorkerTestHelper(mock_render_process_id) {} : EmbeddedWorkerTestHelper(mock_render_process_id) {}
virtual void OnStartWorker(int embedded_worker_id, virtual void OnStartWorker(int embedded_worker_id,
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
#include "content/browser/service_worker/service_worker_read_from_cache_job.h" #include "content/browser/service_worker/service_worker_read_from_cache_job.h"
#include <string>
#include <vector>
#include "content/browser/service_worker/service_worker_context_core.h" #include "content/browser/service_worker/service_worker_context_core.h"
#include "content/browser/service_worker/service_worker_disk_cache.h" #include "content/browser/service_worker/service_worker_disk_cache.h"
#include "content/browser/service_worker/service_worker_metrics.h" #include "content/browser/service_worker/service_worker_metrics.h"
...@@ -134,13 +137,13 @@ const net::HttpResponseInfo* ServiceWorkerReadFromCacheJob::http_info() const { ...@@ -134,13 +137,13 @@ const net::HttpResponseInfo* ServiceWorkerReadFromCacheJob::http_info() const {
void ServiceWorkerReadFromCacheJob::OnReadInfoComplete(int result) { void ServiceWorkerReadFromCacheJob::OnReadInfoComplete(int result) {
scoped_refptr<ServiceWorkerReadFromCacheJob> protect(this); scoped_refptr<ServiceWorkerReadFromCacheJob> protect(this);
if (!http_info_io_buffer_->http_info) { if (!http_info_io_buffer_->http_info) {
DCHECK(result < 0); DCHECK_LT(result, 0);
ServiceWorkerMetrics::CountReadResponseResult( ServiceWorkerMetrics::CountReadResponseResult(
ServiceWorkerMetrics::READ_HEADERS_ERROR); ServiceWorkerMetrics::READ_HEADERS_ERROR);
NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, result)); NotifyDone(net::URLRequestStatus(net::URLRequestStatus::FAILED, result));
return; return;
} }
DCHECK(result >= 0); DCHECK_GE(result, 0);
SetStatus(net::URLRequestStatus()); // Clear the IO_PENDING status SetStatus(net::URLRequestStatus()); // Clear the IO_PENDING status
http_info_.reset(http_info_io_buffer_->http_info.release()); http_info_.reset(http_info_io_buffer_->http_info.release());
if (is_range_request()) if (is_range_request())
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_READ_FROM_CACHE_JOB_H_ #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_READ_FROM_CACHE_JOB_H_
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_READ_FROM_CACHE_JOB_H_ #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_READ_FROM_CACHE_JOB_H_
#include <string>
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "content/browser/service_worker/service_worker_disk_cache.h" #include "content/browser/service_worker/service_worker_disk_cache.h"
......
...@@ -106,7 +106,7 @@ void ServiceWorkerRegistration::SetVersionInternal( ...@@ -106,7 +106,7 @@ void ServiceWorkerRegistration::SetVersionInternal(
OnVersionAttributesChanged(this, mask, info)); OnVersionAttributesChanged(this, mask, info));
} }
void ServiceWorkerRegistration::UnsetVersionInternal( void ServiceWorkerRegistration::UnsetVersionInternal(
ServiceWorkerVersion* version, ServiceWorkerVersion* version,
ChangedVersionAttributesMask* mask) { ChangedVersionAttributesMask* mask) {
DCHECK(version); DCHECK(version);
......
...@@ -36,7 +36,6 @@ class ServiceWorkerVersion; ...@@ -36,7 +36,6 @@ class ServiceWorkerVersion;
class CONTENT_EXPORT ServiceWorkerRegistration class CONTENT_EXPORT ServiceWorkerRegistration
: NON_EXPORTED_BASE(public base::RefCounted<ServiceWorkerRegistration>) { : NON_EXPORTED_BASE(public base::RefCounted<ServiceWorkerRegistration>) {
public: public:
class Listener { class Listener {
public: public:
virtual void OnVersionAttributesChanged( virtual void OnVersionAttributesChanged(
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
#include "content/browser/service_worker/service_worker_request_handler.h" #include "content/browser/service_worker/service_worker_request_handler.h"
#include <string>
#include "content/browser/service_worker/service_worker_context_core.h" #include "content/browser/service_worker/service_worker_context_core.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h" #include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/browser/service_worker/service_worker_provider_host.h" #include "content/browser/service_worker/service_worker_provider_host.h"
......
...@@ -75,6 +75,7 @@ class CONTENT_EXPORT ServiceWorkerRequestHandler ...@@ -75,6 +75,7 @@ class CONTENT_EXPORT ServiceWorkerRequestHandler
base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context_; base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context_;
ResourceType::Type resource_type_; ResourceType::Type resource_type_;
private:
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRequestHandler); DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRequestHandler);
}; };
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "content/browser/service_worker/service_worker_version.h" #include "content/browser/service_worker/service_worker_version.h"
#include "content/common/service_worker/service_worker_types.h" #include "content/common/service_worker/service_worker_types.h"
#include "content/public/browser/browser_thread.h" #include "content/public/browser/browser_thread.h"
#include "net/base/completion_callback.h"
#include "net/base/net_errors.h" #include "net/base/net_errors.h"
#include "webkit/browser/quota/quota_manager_proxy.h" #include "webkit/browser/quota/quota_manager_proxy.h"
...@@ -57,8 +58,6 @@ const base::FilePath::CharType kDiskCacheName[] = ...@@ -57,8 +58,6 @@ const base::FilePath::CharType kDiskCacheName[] =
const int kMaxMemDiskCacheSize = 10 * 1024 * 1024; const int kMaxMemDiskCacheSize = 10 * 1024 * 1024;
const int kMaxDiskCacheSize = 250 * 1024 * 1024; const int kMaxDiskCacheSize = 250 * 1024 * 1024;
void EmptyCompletionCallback(int) {}
ServiceWorkerStatusCode DatabaseStatusToStatusCode( ServiceWorkerStatusCode DatabaseStatusToStatusCode(
ServiceWorkerDatabase::Status status) { ServiceWorkerDatabase::Status status) {
switch (status) { switch (status) {
...@@ -823,9 +822,8 @@ ServiceWorkerDiskCache* ServiceWorkerStorage::disk_cache() { ...@@ -823,9 +822,8 @@ ServiceWorkerDiskCache* ServiceWorkerStorage::disk_cache() {
base::FilePath path = GetDiskCachePath(); base::FilePath path = GetDiskCachePath();
if (path.empty()) { if (path.empty()) {
int rv = disk_cache_->InitWithMemBackend( int rv = disk_cache_->InitWithMemBackend(kMaxMemDiskCacheSize,
kMaxMemDiskCacheSize, net::CompletionCallback());
base::Bind(&EmptyCompletionCallback));
DCHECK_EQ(net::OK, rv); DCHECK_EQ(net::OK, rv);
return disk_cache_.get(); return disk_cache_.get();
} }
......
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
#include "content/browser/service_worker/service_worker_url_request_job.h" #include "content/browser/service_worker/service_worker_url_request_job.h"
#include <map>
#include <string>
#include <vector>
#include "base/bind.h" #include "base/bind.h"
#include "base/strings/stringprintf.h" #include "base/strings/stringprintf.h"
#include "content/browser/service_worker/service_worker_fetch_dispatcher.h" #include "content/browser/service_worker/service_worker_fetch_dispatcher.h"
......
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_
#include <map>
#include <string>
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "content/common/content_export.h" #include "content/common/content_export.h"
#include "content/common/service_worker/service_worker_status_code.h" #include "content/common/service_worker/service_worker_status_code.h"
......
...@@ -179,6 +179,7 @@ class ServiceWorkerURLRequestJobTest : public testing::Test { ...@@ -179,6 +179,7 @@ class ServiceWorkerURLRequestJobTest : public testing::Test {
scoped_refptr<webkit_blob::BlobData> blob_data_; scoped_refptr<webkit_blob::BlobData> blob_data_;
private:
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJobTest); DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJobTest);
}; };
...@@ -210,6 +211,8 @@ class BlobResponder : public EmbeddedWorkerTestHelper { ...@@ -210,6 +211,8 @@ class BlobResponder : public EmbeddedWorkerTestHelper {
} }
std::string blob_uuid_; std::string blob_uuid_;
private:
DISALLOW_COPY_AND_ASSIGN(BlobResponder); DISALLOW_COPY_AND_ASSIGN(BlobResponder);
}; };
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
#include <map>
#include <string> #include <string>
#include <vector> #include <vector>
...@@ -70,20 +71,20 @@ class CONTENT_EXPORT ServiceWorkerVersion ...@@ -70,20 +71,20 @@ class CONTENT_EXPORT ServiceWorkerVersion
class Listener { class Listener {
public: public:
virtual void OnWorkerStarted(ServiceWorkerVersion* version) {}; virtual void OnWorkerStarted(ServiceWorkerVersion* version) {}
virtual void OnWorkerStopped(ServiceWorkerVersion* version) {}; virtual void OnWorkerStopped(ServiceWorkerVersion* version) {}
virtual void OnVersionStateChanged(ServiceWorkerVersion* version) {}; virtual void OnVersionStateChanged(ServiceWorkerVersion* version) {}
virtual void OnErrorReported(ServiceWorkerVersion* version, virtual void OnErrorReported(ServiceWorkerVersion* version,
const base::string16& error_message, const base::string16& error_message,
int line_number, int line_number,
int column_number, int column_number,
const GURL& source_url) {}; const GURL& source_url) {}
virtual void OnReportConsoleMessage(ServiceWorkerVersion* version, virtual void OnReportConsoleMessage(ServiceWorkerVersion* version,
int source_identifier, int source_identifier,
int message_level, int message_level,
const base::string16& message, const base::string16& message,
int line_number, int line_number,
const GURL& source_url) {}; const GURL& source_url) {}
}; };
ServiceWorkerVersion( ServiceWorkerVersion(
......
...@@ -143,6 +143,8 @@ class ServiceWorkerVersionTest : public testing::Test { ...@@ -143,6 +143,8 @@ class ServiceWorkerVersionTest : public testing::Test {
scoped_ptr<MessageReceiver> helper_; scoped_ptr<MessageReceiver> helper_;
scoped_refptr<ServiceWorkerRegistration> registration_; scoped_refptr<ServiceWorkerRegistration> registration_;
scoped_refptr<ServiceWorkerVersion> version_; scoped_refptr<ServiceWorkerVersion> version_;
private:
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersionTest); DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersionTest);
}; };
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_WRITE_TO_CACHE_JOB_H_ #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_WRITE_TO_CACHE_JOB_H_
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_WRITE_TO_CACHE_JOB_H_ #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_WRITE_TO_CACHE_JOB_H_
#include <string>
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "content/browser/service_worker/service_worker_disk_cache.h" #include "content/browser/service_worker/service_worker_disk_cache.h"
#include "content/browser/service_worker/service_worker_version.h" #include "content/browser/service_worker/service_worker_version.h"
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_NETWORK_PROVIDER_IMPL_H_ #ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_NETWORK_PROVIDER_H_
#define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_NETWORK_PROVIDER_IMPL_H_ #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_NETWORK_PROVIDER_H_
#include "base/compiler_specific.h" #include "base/compiler_specific.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
...@@ -55,4 +55,4 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider ...@@ -55,4 +55,4 @@ class CONTENT_EXPORT ServiceWorkerNetworkProvider
} // namespace content } // namespace content
#endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROVIDER_IMPL_H_ #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_NETWORK_PROVIDER_H_
...@@ -21,15 +21,15 @@ namespace content { ...@@ -21,15 +21,15 @@ namespace content {
// Indicates invalid request ID (i.e. the sender does not expect it gets // Indicates invalid request ID (i.e. the sender does not expect it gets
// response for the message) for messaging between browser process // response for the message) for messaging between browser process
// and embedded worker. // and embedded worker.
const static int kInvalidServiceWorkerRequestId = -1; static const int kInvalidServiceWorkerRequestId = -1;
// Constants for invalid identifiers. // Constants for invalid identifiers.
const static int kInvalidServiceWorkerHandleId = -1; static const int kInvalidServiceWorkerHandleId = -1;
const static int kInvalidServiceWorkerProviderId = -1; static const int kInvalidServiceWorkerProviderId = -1;
const static int64 kInvalidServiceWorkerRegistrationId = -1; static const int64 kInvalidServiceWorkerRegistrationId = -1;
const static int64 kInvalidServiceWorkerVersionId = -1; static const int64 kInvalidServiceWorkerVersionId = -1;
const static int64 kInvalidServiceWorkerResourceId = -1; static const int64 kInvalidServiceWorkerResourceId = -1;
const static int64 kInvalidServiceWorkerResponseId = -1; static const int64 kInvalidServiceWorkerResponseId = -1;
// Indicates how the service worker handled a fetch event. // Indicates how the service worker handled a fetch event.
enum ServiceWorkerFetchEventResult { enum ServiceWorkerFetchEventResult {
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
#include "content/renderer/service_worker/embedded_worker_context_client.h" #include "content/renderer/service_worker/embedded_worker_context_client.h"
#include <map>
#include <string>
#include "base/lazy_instance.h" #include "base/lazy_instance.h"
#include "base/message_loop/message_loop_proxy.h" #include "base/message_loop/message_loop_proxy.h"
#include "base/pickle.h" #include "base/pickle.h"
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
#include "content/renderer/service_worker/service_worker_script_context.h" #include "content/renderer/service_worker/service_worker_script_context.h"
#include <map>
#include "base/logging.h" #include "base/logging.h"
#include "content/child/thread_safe_sender.h" #include "content/child/thread_safe_sender.h"
#include "content/child/webmessageportchannel_impl.h" #include "content/child/webmessageportchannel_impl.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment