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

Unified Diff: content/child/websocket_dispatcher.h

Issue 1461283002: [DO NOT COMMIT] mojo datapipe performance measurement Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/child/websocket_bridge.cc ('k') | content/child/websocket_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/websocket_dispatcher.h
diff --git a/content/child/websocket_dispatcher.h b/content/child/websocket_dispatcher.h
index bd2fd50d6de22a6c894b34120fb5e0f6ed0e0144..02cf704ae1ff421f90c852700a71d045c418917e 100644
--- a/content/child/websocket_dispatcher.h
+++ b/content/child/websocket_dispatcher.h
@@ -13,6 +13,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "content/common/loader_test.mojom.h"
#include "ipc/ipc_listener.h"
namespace content {
@@ -40,6 +41,9 @@ class WebSocketDispatcher : public IPC::Listener {
base::WeakPtr<WebSocketDispatcher> GetWeakPtr() {
return weak_ptr_factory_.GetWeakPtr();
}
+ LoaderTestService* loader_test_service() {
+ return loader_test_service_.get();
+ }
private:
WebSocketBridge* GetBridge(int channel_id, uint32_t type);
@@ -47,6 +51,7 @@ class WebSocketDispatcher : public IPC::Listener {
std::map<int, WebSocketBridge*> bridges_;
int channel_id_max_;
base::WeakPtrFactory<WebSocketDispatcher> weak_ptr_factory_;
+ mojo::InterfacePtr<LoaderTestService> loader_test_service_;
DISALLOW_COPY_AND_ASSIGN(WebSocketDispatcher);
};
« no previous file with comments | « content/child/websocket_bridge.cc ('k') | content/child/websocket_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698