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

Unified Diff: chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc

Issue 316963002: Move branding information out of google_util (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for Windows Created 6 years, 6 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
« no previous file with comments | « chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc ('k') | chrome/browser/rlz/rlz.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc
diff --git a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc
index a72e2fa510f4cc0934a1ab77f65adf840a77d868..22019786dff48c4675f47696ab87ec1731f2bed7 100644
--- a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc
+++ b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc
@@ -21,7 +21,7 @@
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/extensions/extension_service_unittest.h"
-#include "chrome/browser/google/google_util.h"
+#include "chrome/browser/google/google_brand.h"
#include "chrome/browser/profile_resetter/brandcoded_default_settings.h"
#include "chrome/browser/profile_resetter/profile_reset_global_error.h"
#include "chrome/browser/search_engines/default_search_manager.h"
@@ -441,7 +441,7 @@ TEST_F(AutomaticProfileResetterDelegateTest,
TEST_F(AutomaticProfileResetterDelegateTest,
FetchAndWaitOnDefaultSettingsVanilla) {
- google_util::BrandForTesting scoped_brand_for_testing((std::string()));
+ google_brand::BrandForTesting scoped_brand_for_testing((std::string()));
// Expect ready_callback to be called just after empty brandcoded settings
// are loaded, given this is a vanilla build. Fail if it is not called, or
@@ -473,7 +473,7 @@ TEST_F(AutomaticProfileResetterDelegateTest,
TEST_F(AutomaticProfileResetterDelegateTest,
FetchAndWaitOnDefaultSettingsBranded) {
- google_util::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
+ google_brand::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
// Expect ready_callback to be called just after the brandcoded settings are
// downloaded. Fail if it is not called, or called too early.
@@ -506,7 +506,7 @@ TEST_F(AutomaticProfileResetterDelegateTest,
TEST_F(AutomaticProfileResetterDelegateTest,
FetchAndWaitOnDefaultSettingsBrandedFailure) {
- google_util::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
+ google_brand::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
// Expect ready_callback to be called just after the brandcoded settings have
// failed to download. Fail if it is not called, or called too early.
@@ -532,7 +532,7 @@ TEST_F(AutomaticProfileResetterDelegateTest,
}
TEST_F(AutomaticProfileResetterDelegateTest, TriggerReset) {
- google_util::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
+ google_brand::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
PrefService* prefs = profile()->GetPrefs();
DCHECK(prefs);
@@ -551,7 +551,7 @@ TEST_F(AutomaticProfileResetterDelegateTest, TriggerReset) {
TEST_F(AutomaticProfileResetterDelegateTest,
TriggerResetWithDefaultSettingsAlreadyLoaded) {
- google_util::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
+ google_brand::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
PrefService* prefs = profile()->GetPrefs();
DCHECK(prefs);
@@ -573,7 +573,7 @@ TEST_F(AutomaticProfileResetterDelegateTest,
TEST_F(AutomaticProfileResetterDelegateTest,
TriggerResetAndSendFeedback) {
- google_util::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
+ google_brand::BrandForTesting scoped_brand_for_testing(kTestBrandcode);
PrefService* prefs = profile()->GetPrefs();
DCHECK(prefs);
« no previous file with comments | « chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc ('k') | chrome/browser/rlz/rlz.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698