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

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

Issue 2181983002: Revert "Speculatively launch Service Workers on mouse/touch events. [3/5]" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/service_worker/service_worker_context_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 415f02502ff0131dc5769deda1056819d9ab3c1e..ab4c900ba7610a18ca9499ee4816e1c9c797cabf 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -25,10 +25,6 @@ class SequencedTaskRunner;
class SingleThreadTaskRunner;
}
-namespace blink {
-enum class WebNavigationHintType;
-}
-
namespace storage {
class QuotaManagerProxy;
class SpecialStoragePolicy;
@@ -114,11 +110,6 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
const CheckHasServiceWorkerCallback& callback) override;
void StopAllServiceWorkersForOrigin(const GURL& origin) override;
void ClearAllServiceWorkersForTest(const base::Closure& callback) override;
- void StartServiceWorkerForNavigationHint(
- const GURL& document_url,
- blink::WebNavigationHintType type,
- int render_process_id,
- const ResultCallback& callback) override;
// These methods must only be called from the IO thread.
ServiceWorkerRegistration* GetLiveRegistration(int64_t registration_id);
@@ -240,23 +231,6 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
ServiceWorkerStatusCode status,
scoped_refptr<content::ServiceWorkerRegistration> registration);
- void DidCheckRenderProcessForNavigationHint(const GURL& document_url,
- blink::WebNavigationHintType type,
- int render_process_id,
- const ResultCallback& callback);
-
- void DidFindRegistrationForNavigationHint(
- blink::WebNavigationHintType type,
- int render_process_id,
- const ResultCallback& callback,
- ServiceWorkerStatusCode status,
- scoped_refptr<ServiceWorkerRegistration> registration);
-
- void DidStartServiceWorkerForNavigationHint(const GURL& pattern,
- int render_process_id,
- const ResultCallback& callback,
- ServiceWorkerStatusCode code);
-
// The core context is only for use on the IO thread.
// Can be null before/during init, during/after shutdown, and after
// DeleteAndStartOver fails.
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/service_worker/service_worker_context_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698