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

Side by Side Diff: content/browser/navigator_connect/navigator_connect_dispatcher_host.h

Issue 781723002: Pass navigator.connect calls through to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
(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 _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698