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

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: nit 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 626b5eb2aabe7fcb3b2ed1604cf20c994098464b..41b21353f3fbdadde5e096721409f68911773f47 100644
--- a/chrome/browser/search_engines/template_url_unittest.cc
+++ b/chrome/browser/search_engines/template_url_unittest.cc
@@ -16,6 +16,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#if defined(ENABLE_RLZ)
+#include "chrome/browser/google/google_brand.h"
#include "chrome/browser/google/google_util.h"
#endif
@@ -658,8 +659,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)
@@ -688,8 +689,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

Powered by Google App Engine
This is Rietveld 408576698