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

Unified Diff: android_webview/lib/aw_content_browser_client.h

Issue 10855171: Add a test runner for android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address feedback Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/lib/aw_content_browser_client.h
diff --git a/android_webview/lib/aw_content_browser_client.h b/android_webview/lib/aw_content_browser_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..0972032282d0733a264e39f8e1e8b7da47bd1ddc
--- /dev/null
+++ b/android_webview/lib/aw_content_browser_client.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 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 ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
+#define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
+
+#include "chrome/browser/chrome_content_browser_client.h"
+
+namespace android_webview {
+
+// TODO(boliu): Remove chrome/ dependency and inherit from
+// content::ContentBrowserClient directly.
+class AwContentBrowserClient : public chrome::ChromeContentBrowserClient {
+ public:
+ AwContentBrowserClient();
+ virtual ~AwContentBrowserClient();
+
+ // Overriden methods from ContentBrowserClient.
+ virtual void ResourceDispatcherHostCreated() OVERRIDE;
+};
+
+} // namespace android_webview
+
+#endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
« no previous file with comments | « android_webview/lib/aw_browser_dependency_factory_impl.cc ('k') | android_webview/lib/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698