summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/inspect_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/inspect_ui.h')
-rw-r--r--chrome/browser/ui/webui/inspect_ui.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/inspect_ui.h b/chrome/browser/ui/webui/inspect_ui.h
index ec382ba..264b9fd 100644
--- a/chrome/browser/ui/webui/inspect_ui.h
+++ b/chrome/browser/ui/webui/inspect_ui.h
@@ -44,7 +44,7 @@ class InspectUI : public content::WebUIController,
const std::string& path,
const content::WebUIDataSource::GotDataCallback& callback);
- bool HandleAdbDevicesCallback(
+ bool HandleAdbPagesCallback(
const std::string& path,
const content::WebUIDataSource::GotDataCallback& callback);
@@ -61,13 +61,16 @@ class InspectUI : public content::WebUIController,
int result,
const std::string& response);
+ void OnAdbPages(const content::WebUIDataSource::GotDataCallback& callback,
+ int result,
+ DevToolsAdbBridge::RemotePages* pages);
scoped_refptr<WorkerCreationDestructionListener> observer_;
// A scoped container for notification registries.
content::NotificationRegistrar registrar_;
- DevToolsAdbBridge* adb_bridge_;
+ scoped_ptr<DevToolsAdbBridge> adb_bridge_;
base::WeakPtrFactory<InspectUI> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(InspectUI);