Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(961)

Unified Diff: content/browser/service_worker/service_worker_context_wrapper.h

Issue 2931033003: Rename ServiceWorkerContextObserver to ServiceWorkerContextCoreObserver. (Closed)
Patch Set: Typo Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_context_wrapper.h
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
index 599c157346d86f351ffcf5ea9d332a6c30cbe422..fc17febb1e6bfdb02d6fb0df16f43a13da97e842 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -34,7 +34,7 @@ namespace content {
class BrowserContext;
class ResourceContext;
class ServiceWorkerContextCore;
-class ServiceWorkerContextObserver;
+class ServiceWorkerContextCoreObserver;
class StoragePartitionImpl;
// A refcounted wrapper class for our core object. Higher level content lib
@@ -217,8 +217,8 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
// These methods can be called from any thread.
void UpdateRegistration(const GURL& pattern);
void SetForceUpdateOnPageLoad(bool force_update_on_page_load);
- void AddObserver(ServiceWorkerContextObserver* observer);
- void RemoveObserver(ServiceWorkerContextObserver* observer);
+ void AddObserver(ServiceWorkerContextCoreObserver* observer);
+ void RemoveObserver(ServiceWorkerContextCoreObserver* observer);
bool is_incognito() const { return is_incognito_; }
@@ -284,8 +284,9 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
// DeleteAndStartOver fails.
ServiceWorkerContextCore* context();
- const scoped_refptr<base::ObserverListThreadSafe<
- ServiceWorkerContextObserver>> observer_list_;
+ const scoped_refptr<
+ base::ObserverListThreadSafe<ServiceWorkerContextCoreObserver>>
+ observer_list_;
const std::unique_ptr<ServiceWorkerProcessManager> process_manager_;
// Cleared in ShutdownOnIO():
std::unique_ptr<ServiceWorkerContextCore> context_core_;

Powered by Google App Engine
This is Rietveld 408576698