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

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: 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/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..396b7252e1bdf1910b450259531c2232d3aa1eee 100644
--- a/chrome/app/chrome_crash_reporter_client.cc
+++ b/chrome/app/chrome_crash_reporter_client.cc
@@ -18,6 +18,7 @@
#include "chrome/common/crash_keys.h"
#include "chrome/common/env_vars.h"
#include "chrome/installer/util/google_update_settings.h"
+#include "components/version_info/version_info.h"
#if defined(OS_WIN)
#include <windows.h>
@@ -45,7 +46,7 @@
#endif
#if defined(OS_CHROMEOS)
-#include "chrome/common/chrome_version_info.h"
+#include "chrome/common/channel_info.h"
#include "chromeos/chromeos_switches.h"
#endif
@@ -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;

Powered by Google App Engine
This is Rietveld 408576698