Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_HOST_H_ | |
| 6 #define CONTENT_BROWSER_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_HOST_H_ | |
| 7 | |
| 8 #include "content/public/browser/browser_message_filter.h" | |
| 9 | |
| 10 class GURL; | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 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.
| |
| 15 public: | |
| 16 NavigatorConnectDispatcherHost(); | |
| 17 | |
| 18 private: | |
| 19 ~NavigatorConnectDispatcherHost() override; | |
| 20 | |
| 21 // BrowserMessageFilter implementation. | |
| 22 bool OnMessageReceived(const IPC::Message& message) override; | |
| 23 | |
| 24 void OnConnect(int thread_id, | |
| 25 int request_id, | |
| 26 const GURL& target_url, | |
| 27 int message_port_id); | |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(NavigatorConnectDispatcherHost); | |
| 30 }; | |
| 31 | |
| 32 } // namespace content | |
| 33 | |
| 34 #endif // CONTENT_BROWSER_NAVIGATOR_CONNECT_NAVIGATOR_CONNECT_DISPATCHER_HOST_H _ | |
| OLD | NEW |