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

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

Issue 1974613002: Remove code that was only used by navigator.connect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 4 years, 7 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_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index e06720e78c15b525a905067ec36bb1bcf2f63bc0..d2ed73600c9dc5dd282d303508ebefe442193d27 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -55,7 +55,6 @@ class ServiceWorkerRegistration;
class ServiceWorkerURLRequestJob;
struct ServiceWorkerClientInfo;
struct ServiceWorkerVersionInfo;
-struct TransferredMessagePort;
// This class corresponds to a specific version of a ServiceWorker
// script for a given pattern. When a script is upgraded, there may be
@@ -511,10 +510,9 @@ class CONTENT_EXPORT ServiceWorkerVersion
void OnClearCachedMetadata(const GURL& url);
void OnClearCachedMetadataFinished(int64_t callback_id, int result);
- void OnPostMessageToClient(
- const std::string& client_uuid,
- const base::string16& message,
- const std::vector<TransferredMessagePort>& sent_message_ports);
+ void OnPostMessageToClient(const std::string& client_uuid,
+ const base::string16& message,
+ const std::vector<int>& sent_message_ports);
void OnFocusClient(int request_id, const std::string& client_uuid);
void OnNavigateClient(int request_id,
const std::string& client_uuid,

Powered by Google App Engine
This is Rietveld 408576698