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"
14 namespace devtools_bridge
{
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
27 // TODO(serya): implement
30 virtual ~WebClient() {}
32 static scoped_ptr
<WebClient
> CreateInstance(
33 content::BrowserContext
* context
, Delegate
* delegate
);
35 // TODO(serya): Implement.
41 DISALLOW_COPY_AND_ASSIGN(WebClient
);
44 } // namespace devtools_bridge
46 #endif // COMPONENTS_DEVTOOLS_BRIDGE_CLIENT_WEB_CLIENT_H_