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

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

Issue 2284473002: Move WebSocketHandleImpl into Blink (take 2) (Closed)
Patch Set: Rebase Created 4 years, 4 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/websockets/websocket_impl.cc ('k') | content/browser/websockets/websocket_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/websockets/websocket_manager.h
diff --git a/content/browser/websockets/websocket_manager.h b/content/browser/websockets/websocket_manager.h
index 4047e4350172a4d58b5781c7418c77377bfd675e..bee498ae23d1a87b592c3907795a11c85dfca1ec 100644
--- a/content/browser/websockets/websocket_manager.h
+++ b/content/browser/websockets/websocket_manager.h
@@ -13,10 +13,6 @@
#include "content/browser/websockets/websocket_impl.h"
#include "content/common/content_export.h"
-namespace shell {
-class InterfaceRegistry;
-} // namespace shell
-
namespace content {
class StoragePartition;
@@ -29,7 +25,7 @@ class CONTENT_EXPORT WebSocketManager
public:
// Called on the UI thread:
static void CreateWebSocket(int process_id, int frame_id,
- mojom::WebSocketRequest request);
+ blink::mojom::WebSocketRequest request);
protected:
class Handle;
@@ -41,15 +37,16 @@ class CONTENT_EXPORT WebSocketManager
// All other methods must run on the IO thread.
~WebSocketManager() override;
- void DoCreateWebSocket(int frame_id, mojom::WebSocketRequest request);
+ void DoCreateWebSocket(int frame_id, blink::mojom::WebSocketRequest request);
base::TimeDelta CalculateDelay() const;
void ThrottlingPeriodTimerCallback();
// This is virtual to support testing.
- virtual WebSocketImpl* CreateWebSocketImpl(WebSocketImpl::Delegate* delegate,
- mojom::WebSocketRequest request,
- int frame_id,
- base::TimeDelta delay);
+ virtual WebSocketImpl* CreateWebSocketImpl(
+ WebSocketImpl::Delegate* delegate,
+ blink::mojom::WebSocketRequest request,
+ int frame_id,
+ base::TimeDelta delay);
// WebSocketImpl::Delegate methods:
int GetClientProcessId() override;
« no previous file with comments | « content/browser/websockets/websocket_impl.cc ('k') | content/browser/websockets/websocket_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698