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

Unified Diff: chrome/browser/history/chrome_history_backend_client.cc

Issue 1257633002: Componentize VersionInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix OWNERS (copy from //chrome/OWNERS) Created 5 years, 5 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/history/chrome_history_backend_client.cc
diff --git a/chrome/browser/history/chrome_history_backend_client.cc b/chrome/browser/history/chrome_history_backend_client.cc
index 20448a04799c3c78af25c4302e8094c3185de1bc..3ac3ce39cc83fc9083ad3e69f4cb46a76dae7d01 100644
--- a/chrome/browser/history/chrome_history_backend_client.cc
+++ b/chrome/browser/history/chrome_history_backend_client.cc
@@ -64,9 +64,9 @@ bool ChromeHistoryBackendClient::ShouldReportDatabaseError() {
// TODO(shess): For now, don't report on beta or stable so as not to
// overwhelm the crash server. Once the big fish are fried,
// consider reporting at a reduced rate on the bigger channels.
- chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
- return channel != chrome::VersionInfo::CHANNEL_STABLE &&
- channel != chrome::VersionInfo::CHANNEL_BETA;
+ version_info::Channel channel = chrome::VersionInfo::GetChannel();
+ return channel != version_info::CHANNEL_STABLE &&
+ channel != version_info::CHANNEL_BETA;
}
#if defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698