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

Unified Diff: chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc b/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc
index 7f644173f4e8a837f1038c9ae4b1fcf6f0995894..c7f124dcddd050b27275e90170a4b13bc615b14d 100644
--- a/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc
+++ b/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc
@@ -416,9 +416,9 @@ IN_PROC_BROWSER_TEST_F(TwoClientPreferencesSyncTest,
ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableTranslate));
- scoped_ptr<TranslatePrefs> translate_client0_prefs(
+ scoped_ptr<translate::TranslatePrefs> translate_client0_prefs(
ChromeTranslateClient::CreateTranslatePrefs(GetPrefs(0)));
- scoped_ptr<TranslatePrefs> translate_client1_prefs(
+ scoped_ptr<translate::TranslatePrefs> translate_client1_prefs(
ChromeTranslateClient::CreateTranslatePrefs(GetPrefs(1)));
ASSERT_FALSE(translate_client0_prefs->IsBlockedLanguage("fr"));
translate_client0_prefs->BlockLanguage("fr");
@@ -440,9 +440,9 @@ IN_PROC_BROWSER_TEST_F(TwoClientPreferencesSyncTest,
ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableTranslate));
- scoped_ptr<TranslatePrefs> translate_client0_prefs(
+ scoped_ptr<translate::TranslatePrefs> translate_client0_prefs(
ChromeTranslateClient::CreateTranslatePrefs(GetPrefs(0)));
- scoped_ptr<TranslatePrefs> translate_client1_prefs(
+ scoped_ptr<translate::TranslatePrefs> translate_client1_prefs(
ChromeTranslateClient::CreateTranslatePrefs(GetPrefs(1)));
ASSERT_FALSE(translate_client0_prefs->IsLanguagePairWhitelisted("en", "bg"));
translate_client0_prefs->WhitelistLanguagePair("en", "bg");
@@ -466,9 +466,9 @@ IN_PROC_BROWSER_TEST_F(TwoClientPreferencesSyncTest,
GURL url("http://www.google.com");
std::string host(url.host());
- scoped_ptr<TranslatePrefs> translate_client0_prefs(
+ scoped_ptr<translate::TranslatePrefs> translate_client0_prefs(
ChromeTranslateClient::CreateTranslatePrefs(GetPrefs(0)));
- scoped_ptr<TranslatePrefs> translate_client1_prefs(
+ scoped_ptr<translate::TranslatePrefs> translate_client1_prefs(
ChromeTranslateClient::CreateTranslatePrefs(GetPrefs(1)));
ASSERT_FALSE(translate_client0_prefs->IsSiteBlacklisted(host));
translate_client0_prefs->BlacklistSite(host);

Powered by Google App Engine
This is Rietveld 408576698