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

Unified Diff: chrome/browser/devtools/device/devtools_android_bridge.h

Issue 762903004: Enabling WebRTCDeviceProvider under enable-devtools-experiments flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-web-client
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/devtools/device/devtools_android_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/device/devtools_android_bridge.h
diff --git a/chrome/browser/devtools/device/devtools_android_bridge.h b/chrome/browser/devtools/device/devtools_android_bridge.h
index e0819059c13eff68e77fb754f0f9002ecc225ac0..674f838bca84f0c115fc344e730a2f961a345c1c 100644
--- a/chrome/browser/devtools/device/devtools_android_bridge.h
+++ b/chrome/browser/devtools/device/devtools_android_bridge.h
@@ -36,6 +36,9 @@ class BrowserContext;
class DevToolsTargetImpl;
class PortForwardingController;
class Profile;
+class WebRTCDeviceProvider;
+class SigninManagerBase;
+class ProfileOAuth2TokenService;
class DevToolsAndroidBridge : public KeyedService {
public:
@@ -158,7 +161,9 @@ class DevToolsAndroidBridge : public KeyedService {
virtual ~DeviceListListener() {}
};
- explicit DevToolsAndroidBridge(Profile* profile);
+ DevToolsAndroidBridge(Profile* profile,
+ SigninManagerBase* signin_manager,
+ ProfileOAuth2TokenService* token_service);
void AddDeviceListListener(DeviceListListener* listener);
void RemoveDeviceListListener(DeviceListListener* listener);
@@ -214,6 +219,7 @@ class DevToolsAndroidBridge : public KeyedService {
scoped_refptr<content::DevToolsAgentHost> GetBrowserAgentHost(
scoped_refptr<RemoteBrowser> browser);
+
private:
friend struct content::BrowserThread::DeleteOnThread<
content::BrowserThread::UI>;
@@ -282,7 +288,9 @@ class DevToolsAndroidBridge : public KeyedService {
return weak_factory_.GetWeakPtr();
}
- Profile* profile_;
+ Profile* const profile_;
+ SigninManagerBase* const signin_manager_;
+ ProfileOAuth2TokenService* const token_service_;
const scoped_ptr<AndroidDeviceManager> device_manager_;
typedef std::map<std::string, scoped_refptr<AndroidDeviceManager::Device>>
« no previous file with comments | « no previous file | chrome/browser/devtools/device/devtools_android_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698