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

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

Issue 2778173002: Revert of "Speculatively launch Service Workers on mouse/touch events." (Closed)
Patch Set: rebase Created 3 years, 9 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 f308459bf6b65d3466aa6bfe0b61a37845f34577..84d8a5807adab482a4607ff93d436453da05b776 100644
--- a/content/browser/service_worker/service_worker_context_wrapper.h
+++ b/content/browser/service_worker/service_worker_context_wrapper.h
@@ -23,10 +23,6 @@ class FilePath;
class SingleThreadTaskRunner;
}
-namespace blink {
-enum class WebNavigationHintType;
-}
-
namespace storage {
class QuotaManagerProxy;
class SpecialStoragePolicy;
@@ -109,11 +105,6 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
const CountExternalRequestsCallback& 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;
bool StartingExternalRequest(int64_t service_worker_version_id,
const std::string& request_uuid) override;
bool FinishedExternalRequest(int64_t service_worker_version_id,
@@ -273,23 +264,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