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

Unified Diff: chrome/browser/extensions/updater/manifest_fetch_data.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/extensions/updater/manifest_fetch_data.cc
diff --git a/chrome/browser/extensions/updater/manifest_fetch_data.cc b/chrome/browser/extensions/updater/manifest_fetch_data.cc
index d4da1a46fb3ae964b1c7ad84ab3d5a44ac975eac..b6ab4e51353e94c46baf10a980d502212ac4d481 100644
--- a/chrome/browser/extensions/updater/manifest_fetch_data.cc
+++ b/chrome/browser/extensions/updater/manifest_fetch_data.cc
@@ -10,6 +10,7 @@
#include "base/metrics/histogram.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
+#include "chrome/browser/google/google_brand.h"
#include "chrome/browser/google/google_util.h"
#include "chrome/browser/metrics/chrome_metrics_service_accessor.h"
#include "chrome/browser/omaha_query_params/omaha_query_params.h"
@@ -91,8 +92,8 @@ bool ManifestFetchData::AddExtension(const std::string& id,
if (base_url_.DomainIs("google.com")) {
#if defined(GOOGLE_CHROME_BUILD)
std::string brand;
- google_util::GetBrand(&brand);
- if (!brand.empty() && !google_util::IsOrganic(brand))
+ google_brand::GetBrand(&brand);
+ if (!brand.empty() && !google_brand::IsOrganic(brand))
parts.push_back("brand=" + brand);
#endif

Powered by Google App Engine
This is Rietveld 408576698