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

Side by Side Diff: components/devtools_bridge/client/web_client.h

Issue 736363002: Stub for web-base client for DevTools bridge and tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed presubmits Created 6 years, 1 month 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
« no previous file with comments | « components/devtools_bridge/client/DEPS ('k') | components/devtools_bridge/client/web_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 COMPONENTS_DEVTOOLS_BRIDGE_CLIENT_WEB_CLIENT_H_
6 #define COMPONENTS_DEVTOOLS_BRIDGE_CLIENT_WEB_CLIENT_H_
7
8 #include "base/memory/scoped_ptr.h"
9
10 namespace content {
11 class BrowserContext;
12 }
13
14 namespace devtools_bridge {
15
16 /**
17 * Client for DevTools Bridge for desktop Chrome. Uses WebContents to host
18 * JavaScript implementation (therefore lives on the UI thread and must be
19 * destroyed before |context|). WebContents works as a sandbox for WebRTC
20 * related code.
21 */
22 class WebClient {
23 public:
24 class Delegate {
25 public:
26
27 // TODO(serya): implement
28 };
29
30 virtual ~WebClient() {}
31
32 static scoped_ptr<WebClient> CreateInstance(
33 content::BrowserContext* context, Delegate* delegate);
34
35 // TODO(serya): Implement.
36
37 protected:
38 WebClient() {}
39
40 private:
41 DISALLOW_COPY_AND_ASSIGN(WebClient);
42 };
43
44 } // namespace devtools_bridge
45
46 #endif // COMPONENTS_DEVTOOLS_BRIDGE_CLIENT_WEB_CLIENT_H_
OLDNEW
« no previous file with comments | « components/devtools_bridge/client/DEPS ('k') | components/devtools_bridge/client/web_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698