| 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;
|
|
|