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

Unified Diff: android_webview/native/state_serializer_unittests.cc

Issue 13409003: Hide ContentClient getters from embedders so that they they don't reuse content's embedder API. The… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 8 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/native/state_serializer_unittests.cc
===================================================================
--- android_webview/native/state_serializer_unittests.cc (revision 192622)
+++ android_webview/native/state_serializer_unittests.cc (working copy)
@@ -33,9 +33,9 @@
TEST(AndroidWebViewStateSerializerTest, TestNavigationEntrySerialization) {
// This is required for NavigationEntry::Create.
content::ContentClient content_client;
+ content::SetContentClient(&content_client);
content::ContentBrowserClient browser_client;
- content_client.set_browser_for_testing(&browser_client);
- content::SetContentClient(&content_client);
+ content::SetBrowserClientForTesting(&browser_client);
scoped_ptr<content::NavigationEntry> entry(
content::NavigationEntry::Create());
« no previous file with comments | « android_webview/native/aw_quota_manager_bridge_impl.cc ('k') | chrome/browser/autofill/risk/fingerprint_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698