Chromium Code Reviews| Index: content/browser/service_worker/service_worker_context_observer.h |
| diff --git a/content/browser/service_worker/service_worker_context_observer.h b/content/browser/service_worker/service_worker_context_observer.h |
| index 65361d7d7a3a3744d97bf11bdcac26ac914df107..31662934eb33a30164feb7c62cf62e27d0567987 100644 |
| --- a/content/browser/service_worker/service_worker_context_observer.h |
| +++ b/content/browser/service_worker/service_worker_context_observer.h |
| @@ -7,6 +7,7 @@ |
| #include <stdint.h> |
| +#include "base/callback.h" |
| #include "base/strings/string16.h" |
| #include "base/time/time.h" |
| #include "content/browser/service_worker/service_worker_info.h" |
| @@ -72,11 +73,13 @@ class ServiceWorkerContextObserver { |
| int process_id, |
| int thread_id, |
| const ConsoleMessage& message) {} |
|
falken
2017/06/01 07:37:27
Should we say:
// |web_contents_getter| is only s
arthursonzogni
2017/06/01 08:14:08
Done.
|
| - virtual void OnControlleeAdded(int64_t version_id, |
| - const std::string& uuid, |
| - int process_id, |
| - int route_id, |
| - ServiceWorkerProviderType type) {} |
| + virtual void OnControlleeAdded( |
| + int64_t version_id, |
| + const std::string& uuid, |
| + int process_id, |
| + int route_id, |
| + const base::Callback<WebContents*(void)>& web_contents_getter, |
| + ServiceWorkerProviderType type) {} |
| virtual void OnControlleeRemoved(int64_t version_id, |
| const std::string& uuid) {} |
| virtual void OnRegistrationStored(int64_t registration_id, |