Index: content/browser/navigator_connect/navigator_connect_dispatcher_host.h |
diff --git a/content/browser/navigator_connect/navigator_connect_dispatcher_host.h b/content/browser/navigator_connect/navigator_connect_dispatcher_host.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..51dbd7340dc0d8dc7c758acf15850028aa52dd98 |
--- /dev/null |
+++ b/content/browser/navigator_connect/navigator_connect_dispatcher_host.h |
@@ -0,0 +1,34 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_BROWSER_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_HOST_H_ |
+#define CONTENT_BROWSER_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_HOST_H_ |
+ |
+#include "content/public/browser/browser_message_filter.h" |
+ |
+class GURL; |
+ |
+namespace content { |
+ |
+class NavigatorConnectDispatcherHost : public BrowserMessageFilter { |
scheib
2014/12/05 05:49:50
Class comments http://google-styleguide.googlecode
Marijn Kruisselbrink
2014/12/05 14:25:50
Done.
|
+ public: |
+ NavigatorConnectDispatcherHost(); |
+ |
+ private: |
+ ~NavigatorConnectDispatcherHost() override; |
+ |
+ // BrowserMessageFilter implementation. |
+ bool OnMessageReceived(const IPC::Message& message) override; |
+ |
+ void OnConnect(int thread_id, |
+ int request_id, |
+ const GURL& target_url, |
+ int message_port_id); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(NavigatorConnectDispatcherHost); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_HOST_H_ |