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

Unified Diff: content/browser/websockets/websocket_manager.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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/websockets/websocket_manager.h
diff --git a/content/browser/websockets/websocket_manager.h b/content/browser/websockets/websocket_manager.h
index 8f1b9c9f689a2d082e74ff9ff8078e3fd9252b6b..5fd6bc170248431e82fb0b5ec0ff06b7d0f9f6e0 100644
--- a/content/browser/websockets/websocket_manager.h
+++ b/content/browser/websockets/websocket_manager.h
@@ -16,6 +16,10 @@
#include "net/url_request/url_request_context_getter.h"
#include "net/url_request/url_request_context_getter_observer.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace content {
class StoragePartition;
@@ -28,8 +32,11 @@ class CONTENT_EXPORT WebSocketManager
NON_EXPORTED_BASE(public net::URLRequestContextGetterObserver) {
public:
// Called on the UI thread:
- static void CreateWebSocket(int process_id, int frame_id,
- blink::mojom::WebSocketRequest request);
+ static void CreateWebSocket(
+ int process_id,
+ int frame_id,
+ const service_manager::BindSourceInfo& source_info,
+ blink::mojom::WebSocketRequest request);
// net::URLRequestContextGetterObserver implementation.
void OnContextShuttingDown() override;
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/websockets/websocket_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698