Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / components / devtools_bridge / client / web_client.h
blobd980e8710954d76abd3a540d67b41a5a9c0f8a1b
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.
5 #ifndef COMPONENTS_DEVTOOLS_BRIDGE_CLIENT_WEB_CLIENT_H_
6 #define COMPONENTS_DEVTOOLS_BRIDGE_CLIENT_WEB_CLIENT_H_
8 #include "base/memory/scoped_ptr.h"
10 namespace content {
11 class BrowserContext;
14 namespace devtools_bridge {
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.
22 class WebClient {
23 public:
24 class Delegate {
25 public:
27 // TODO(serya): implement
30 virtual ~WebClient() {}
32 static scoped_ptr<WebClient> CreateInstance(
33 content::BrowserContext* context, Delegate* delegate);
35 // TODO(serya): Implement.
37 protected:
38 WebClient() {}
40 private:
41 DISALLOW_COPY_AND_ASSIGN(WebClient);
44 } // namespace devtools_bridge
46 #endif // COMPONENTS_DEVTOOLS_BRIDGE_CLIENT_WEB_CLIENT_H_