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

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

Issue 654323003: Revert of Added quota client for serviceworker. Enables 'clear past <time> data'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 4ec775c38669e894bd0235b85b49f7b334124e55..1fb17cc11660e4837f5f800175bed79b3b6445d2 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -69,17 +69,12 @@
const GURL& pattern,
const GURL& script_url,
const ResultCallback& continuation) override;
- virtual void UnregisterServiceWorker(
- const GURL& pattern,
- const ResultCallback& continuation) override;
+ virtual void UnregisterServiceWorker(const GURL& pattern,
+ const ResultCallback& continuation)
+ override;
virtual void Terminate() override;
virtual void GetAllOriginsInfo(const GetUsageInfoCallback& callback) override;
virtual void DeleteForOrigin(const GURL& origin_url) override;
-
- // DeleteForOrigin with completion callback. Does not exit early, and returns
- // false if one or more of the deletions fail.
- virtual void DeleteForOrigin(const GURL& origin_url,
- const ResultCallback& done);
void AddObserver(ServiceWorkerContextObserver* observer);
void RemoveObserver(ServiceWorkerContextObserver* observer);
@@ -100,7 +95,6 @@
friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>;
friend class EmbeddedWorkerTestHelper;
friend class ServiceWorkerProcessManager;
-
virtual ~ServiceWorkerContextWrapper();
void InitInternal(
@@ -116,6 +110,9 @@
void DidGetAllRegistrationsForGetAllOrigins(
const GetUsageInfoCallback& callback,
const std::vector<ServiceWorkerRegistrationInfo>& registrations);
+ void DidGetAllRegistrationsForDeleteForOrigin(
+ const GURL& origin,
+ const std::vector<ServiceWorkerRegistrationInfo>& registrations);
const scoped_refptr<ObserverListThreadSafe<ServiceWorkerContextObserver> >
observer_list_;

Powered by Google App Engine
This is Rietveld 408576698