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

Unified Diff: chrome/browser/search_engines/template_url_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
Index: chrome/browser/search_engines/template_url_unittest.cc
diff --git a/chrome/browser/search_engines/template_url_unittest.cc b/chrome/browser/search_engines/template_url_unittest.cc
index 97ea55b75885c1b9f13593baa03f767f15ac64fa..18db3bb779b28ef381ba8eba39f19fd0b70e71ad 100644
--- a/chrome/browser/search_engines/template_url_unittest.cc
+++ b/chrome/browser/search_engines/template_url_unittest.cc
@@ -15,7 +15,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#if defined(ENABLE_RLZ)
-#include "chrome/browser/google/google_util.h"
+#include "chrome/browser/google/google_brand.h"
#endif
#if defined(OS_ANDROID)
@@ -657,8 +657,8 @@ TEST_F(TemplateURLTest, RLZ) {
base::string16 rlz_string;
#if defined(ENABLE_RLZ)
std::string brand;
- if (google_util::GetBrand(&brand) && !brand.empty() &&
- !google_util::IsOrganic(brand)) {
+ if (google_brand::GetBrand(&brand) && !brand.empty() &&
+ !google_brand::IsOrganic(brand)) {
RLZTracker::GetAccessPointRlz(RLZTracker::ChromeOmnibox(), &rlz_string);
}
#elif defined(OS_ANDROID)
@@ -687,8 +687,8 @@ TEST_F(TemplateURLTest, RLZFromAppList) {
base::string16 rlz_string;
#if defined(ENABLE_RLZ)
std::string brand;
- if (google_util::GetBrand(&brand) && !brand.empty() &&
- !google_util::IsOrganic(brand)) {
+ if (google_brand::GetBrand(&brand) && !brand.empty() &&
+ !google_brand::IsOrganic(brand)) {
RLZTracker::GetAccessPointRlz(RLZTracker::ChromeAppList(), &rlz_string);
}
#endif
« no previous file with comments | « chrome/browser/search_engines/template_url_service_test_util.cc ('k') | chrome/browser/signin/signin_promo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698