// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_ANDROID_DEV_TOOLS_MANAGER_DELEGATE_ANDROID_H_ #define CHROME_BROWSER_ANDROID_DEV_TOOLS_MANAGER_DELEGATE_ANDROID_H_ #include "base/compiler_specific.h" #include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "chrome/browser/devtools/devtools_network_protocol_handler.h" #include "content/public/browser/devtools_manager_delegate.h" class DevToolsManagerDelegateAndroid : public content::DevToolsManagerDelegate { public: DevToolsManagerDelegateAndroid(); ~DevToolsManagerDelegateAndroid() override; // content::DevToolsManagerDelegate implementation. void Inspect(content::BrowserContext* browser_context, content::DevToolsAgentHost* agent_host) override; void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, bool attached) override; base::DictionaryValue* HandleCommand( content::DevToolsAgentHost* agent_host, base::DictionaryValue* command_dict) override; scoped_ptr CreateNewTarget(const GURL& url) override; void EnumerateTargets(TargetCallback callback) override; std::string GetPageThumbnailData(const GURL& url) override; private: scoped_ptr network_protocol_handler_; DISALLOW_COPY_AND_ASSIGN(DevToolsManagerDelegateAndroid); }; #endif // CHROME_BROWSER_ANDROID_DEV_TOOLS_MANAGER_DELEGATE_ANDROID_H_