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

Side by Side Diff: chrome/browser/android/dev_tools_discovery_provider_android.h

Issue 1099243004: [DevTools] Migrate android to devtools_discovery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_ 6 #define CHROME_BROWSER_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_
7 7
8 #include "components/devtools_discovery/devtools_discovery_manager.h" 8 #include "components/devtools_discovery/devtools_discovery_manager.h"
9 9
10 namespace android_webview { 10 class DevToolsDiscoveryProviderAndroid :
11
12 class AwDevToolsDiscoveryProvider :
13 public devtools_discovery::DevToolsDiscoveryManager::Provider { 11 public devtools_discovery::DevToolsDiscoveryManager::Provider {
14 public: 12 public:
15 AwDevToolsDiscoveryProvider(); 13 // Installs provider to devtools_discovery.
16 ~AwDevToolsDiscoveryProvider() override; 14 static void Install();
15
16 ~DevToolsDiscoveryProviderAndroid() override;
17 17
18 // devtools_discovery::DevToolsDiscoveryManager::Provider implementation. 18 // devtools_discovery::DevToolsDiscoveryManager::Provider implementation.
19 devtools_discovery::DevToolsTargetDescriptor::List GetDescriptors() override; 19 devtools_discovery::DevToolsTargetDescriptor::List GetDescriptors() override;
20 20
21 private: 21 private:
22 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDiscoveryProvider); 22 DevToolsDiscoveryProviderAndroid();
23
24 DISALLOW_COPY_AND_ASSIGN(DevToolsDiscoveryProviderAndroid);
23 }; 25 };
24 26
25 } // namespace android_webview 27 #endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_DISCOVERY_PROVIDER_ANDROID_H_
26
27 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/DEPS ('k') | chrome/browser/android/dev_tools_discovery_provider_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698