Catch Exception for Intent.parseUri instead of URISyntaxException
[chromium-blink-merge.git] / android_webview / browser / aw_dev_tools_discovery_provider.h
blobe679e0f4d9690bca13bafd74621c815399814dbe
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
3 // found in the LICENSE file.
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_
8 #include "components/devtools_discovery/devtools_discovery_manager.h"
10 namespace android_webview {
12 class AwDevToolsDiscoveryProvider :
13 public devtools_discovery::DevToolsDiscoveryManager::Provider {
14 public:
15 // Installs provider to devtools_discovery.
16 static void Install();
18 ~AwDevToolsDiscoveryProvider() override;
20 // devtools_discovery::DevToolsDiscoveryManager::Provider implementation.
21 devtools_discovery::DevToolsTargetDescriptor::List GetDescriptors() override;
23 private:
24 AwDevToolsDiscoveryProvider();
26 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDiscoveryProvider);
29 } // namespace android_webview
31 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DISCOVERY_PROVIDER_H_