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

Unified Diff: content/browser/service_worker/service_worker_version.cc

Issue 861373002: Refactor navigator.connect code to make it more flexible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo 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 | « content/browser/service_worker/service_worker_version.h ('k') | content/browser/storage_partition_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_version.cc
diff --git a/content/browser/service_worker/service_worker_version.cc b/content/browser/service_worker/service_worker_version.cc
index 09cd6f3ea2f6c3f317a795b65c6859a75188fd90..94dce9ae31180c588055f7453e524f9351cd5433 100644
--- a/content/browser/service_worker/service_worker_version.cc
+++ b/content/browser/service_worker/service_worker_version.cc
@@ -544,7 +544,7 @@ void ServiceWorkerVersion::DispatchGeofencingEvent(
void ServiceWorkerVersion::DispatchCrossOriginConnectEvent(
const CrossOriginConnectCallback& callback,
- const CrossOriginServiceWorkerClient& client) {
+ const NavigatorConnectClient& client) {
DCHECK_EQ(ACTIVATED, status()) << status();
if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
@@ -574,7 +574,7 @@ void ServiceWorkerVersion::DispatchCrossOriginConnectEvent(
}
void ServiceWorkerVersion::DispatchCrossOriginMessageEvent(
- const CrossOriginServiceWorkerClient& client,
+ const NavigatorConnectClient& client,
const base::string16& message,
const std::vector<int>& sent_message_port_ids,
const StatusCallback& callback) {
« no previous file with comments | « content/browser/service_worker/service_worker_version.h ('k') | content/browser/storage_partition_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698