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

Unified Diff: chrome/app/chrome_crash_reporter_client.cc

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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
« no previous file with comments | « chrome/app/android/chrome_android_initializer.cc ('k') | chrome/app/chrome_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_crash_reporter_client.cc
diff --git a/chrome/app/chrome_crash_reporter_client.cc b/chrome/app/chrome_crash_reporter_client.cc
index b0eba46d1f5af4e1751dfa0abf3be25e90fc98b2..c514384a88208cccb45b466010ab550d6bc6d37e 100644
--- a/chrome/app/chrome_crash_reporter_client.cc
+++ b/chrome/app/chrome_crash_reporter_client.cc
@@ -45,8 +45,9 @@
#endif
#if defined(OS_CHROMEOS)
-#include "chrome/common/chrome_version_info.h"
+#include "chrome/common/channel_info.h"
#include "chromeos/chromeos_switches.h"
+#include "components/version_info/version_info.h"
#endif
namespace chrome {
@@ -322,7 +323,7 @@ bool ChromeCrashReporterClient::GetCollectStatsConsent() {
bool is_guest_session = base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kGuestSession);
bool is_stable_channel =
- chrome::VersionInfo::GetChannel() == version_info::Channel::STABLE;
+ chrome::GetChannel() == version_info::Channel::STABLE;
if (is_guest_session && is_stable_channel)
return false;
« no previous file with comments | « chrome/app/android/chrome_android_initializer.cc ('k') | chrome/app/chrome_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698