OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/devtools/devtools_adb_bridge.h" | 5 #include "chrome/browser/devtools/devtools_adb_bridge.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/base64.h" | 10 #include "base/base64.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 kChromeDefaultSocket, | 107 kChromeDefaultSocket, |
108 "Chromium" | 108 "Chromium" |
109 }, | 109 }, |
110 { | 110 { |
111 "org.chromium.content_shell_apk", | 111 "org.chromium.content_shell_apk", |
112 "content_shell_devtools_remote", | 112 "content_shell_devtools_remote", |
113 "Content Shell" | 113 "Content Shell" |
114 }, | 114 }, |
115 { | 115 { |
116 "org.chromium.chrome.shell", | 116 "org.chromium.chrome.shell", |
117 "chromium_testshell_devtools_remote", | 117 "chrome_shell_devtools_remote", |
118 "Chrome Shell" | 118 "Chrome Shell" |
119 }, | 119 }, |
120 { | 120 { |
121 "org.chromium.android_webview.shell", | 121 "org.chromium.android_webview.shell", |
122 "webview_devtools_remote", | 122 "webview_devtools_remote", |
123 "WebView Test Shell" | 123 "WebView Test Shell" |
124 } | 124 } |
125 }; | 125 }; |
126 | 126 |
127 const BrowserDescriptor* FindBrowserDescriptor(const std::string& package) { | 127 const BrowserDescriptor* FindBrowserDescriptor(const std::string& package) { |
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1143 | 1143 |
1144 if (listeners_.empty()) | 1144 if (listeners_.empty()) |
1145 return; | 1145 return; |
1146 | 1146 |
1147 BrowserThread::PostDelayedTask( | 1147 BrowserThread::PostDelayedTask( |
1148 BrowserThread::UI, | 1148 BrowserThread::UI, |
1149 FROM_HERE, | 1149 FROM_HERE, |
1150 base::Bind(&DevToolsAdbBridge::RequestRemoteDevices, this), | 1150 base::Bind(&DevToolsAdbBridge::RequestRemoteDevices, this), |
1151 base::TimeDelta::FromMilliseconds(kAdbPollingIntervalMs)); | 1151 base::TimeDelta::FromMilliseconds(kAdbPollingIntervalMs)); |
1152 } | 1152 } |
OLD | NEW |