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

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

Issue 893783002: Revert of Gather the ServiceWorker client information in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rfh_getvisibilitystate
Patch Set: Created 5 years, 11 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 | « no previous file | content/browser/service_worker/service_worker_provider_host.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_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index 9a1511c686a37f7465193c4524bf3fa17008d963..99898a9e064c6746fd9739cf0f968030efc379a7 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -45,9 +45,7 @@
: public NON_EXPORTED_BASE(ServiceWorkerRegistration::Listener),
public base::SupportsWeakPtr<ServiceWorkerProviderHost> {
public:
- using FocusCallback = base::Callback<void(bool)>;
- using GetClientInfoCallback =
- base::Callback<void(const ServiceWorkerClientInfo&)>;
+ typedef base::Callback<void(bool)> FocusCallback;
// If |render_frame_id| is MSG_ROUTING_NONE, this provider host works for the
// worker context.
@@ -148,7 +146,7 @@
void Focus(const FocusCallback& callback);
// Asks the renderer to send back the document information.
- void GetClientInfo(const GetClientInfoCallback& callback);
+ void GetClientInfo(int embedded_worker_id, int request_id);
// Adds reference of this host's process to the |pattern|, the reference will
// be removed in destructor.
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_provider_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698