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

Unified Diff: chrome/common/metrics_constants_util_win.cc

Issue 2622883002: Remove BrowserDistribution::Type. (Closed)
Patch Set: Created 3 years, 11 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/common/metrics_constants_util_win.cc
diff --git a/chrome/common/metrics_constants_util_win.cc b/chrome/common/metrics_constants_util_win.cc
index 165e0a4d0ffe0adac7992ab8bba190cfdaa4928d..d9d14c013f4397e3d3abae691c3706d4d6b5681b 100644
--- a/chrome/common/metrics_constants_util_win.cc
+++ b/chrome/common/metrics_constants_util_win.cc
@@ -14,8 +14,6 @@ base::string16 GetSuffixedRegistryPath(const wchar_t* suffix) {
BrowserDistribution* chrome_distribution =
BrowserDistribution::GetDistribution();
DCHECK(chrome_distribution);
- DCHECK_EQ(BrowserDistribution::CHROME_BROWSER,
- chrome_distribution->GetType());
DCHECK_EQ(L'\\', *suffix);
DCHECK_NE(L'\\', chrome_distribution->GetRegistryPath().back());

Powered by Google App Engine
This is Rietveld 408576698