Index: android_webview/browser/aw_devtools_delegate.h |
diff --git a/content/shell/shell_devtools_delegate.h b/android_webview/browser/aw_devtools_delegate.h |
similarity index 51% |
copy from content/shell/shell_devtools_delegate.h |
copy to android_webview/browser/aw_devtools_delegate.h |
index 03342dd33b6063bc6252134a006662bf8b5e1d58..0cd8dcbb4337c2d3b299a644a9d41ea07f73cdb8 100644 |
--- a/content/shell/shell_devtools_delegate.h |
+++ b/android_webview/browser/aw_devtools_delegate.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ |
-#define CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ |
+#ifndef ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ |
+#define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ |
#include <vector> |
@@ -12,14 +12,16 @@ |
#include "content/public/browser/devtools_http_handler_delegate.h" |
namespace content { |
- |
class BrowserContext; |
class DevToolsHttpHandler; |
+} |
+ |
+namespace android_webview { |
-class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate { |
+class AwDevToolsDelegate : public content::DevToolsHttpHandlerDelegate { |
public: |
- ShellDevToolsDelegate(BrowserContext* browser_context, int port); |
- virtual ~ShellDevToolsDelegate(); |
+ AwDevToolsDelegate(content::BrowserContext* browser_context); |
+ virtual ~AwDevToolsDelegate(); |
// Stops http server. |
void Stop(); |
@@ -29,20 +31,20 @@ class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate { |
virtual bool BundlesFrontendResources() OVERRIDE; |
virtual base::FilePath GetDebugFrontendDir() OVERRIDE; |
virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; |
- virtual RenderViewHost* CreateNewTarget() OVERRIDE; |
- virtual TargetType GetTargetType(RenderViewHost*) OVERRIDE; |
+ virtual content::RenderViewHost* CreateNewTarget() OVERRIDE; |
+ virtual TargetType GetTargetType(content::RenderViewHost*) OVERRIDE; |
- DevToolsHttpHandler* devtools_http_handler() { |
+ content::DevToolsHttpHandler* devtools_http_handler() { |
return devtools_http_handler_; |
} |
private: |
- BrowserContext* browser_context_; |
- DevToolsHttpHandler* devtools_http_handler_; |
+ content::BrowserContext* browser_context_; |
+ content::DevToolsHttpHandler* devtools_http_handler_; |
- DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate); |
+ DISALLOW_COPY_AND_ASSIGN(AwDevToolsDelegate); |
}; |
-} // namespace content |
+} // namespace android_webview |
-#endif // CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ |
+#endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ |