| Index: chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc
|
| diff --git a/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc b/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc
|
| index b1e05f4c871069472e50ec4695a69c9517e4a935..4815203abcc5a7ce3e07536e38ddbcb8e340cc2c 100644
|
| --- a/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc
|
| +++ b/chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc
|
| @@ -6,14 +6,15 @@
|
|
|
| #include "base/debug/dump_without_crashing.h"
|
| #include "base/rand_util.h"
|
| +#include "chrome/common/channel_info.h"
|
| #include "chrome/common/chrome_constants.h"
|
| -#include "chrome/common/chrome_version_info.h"
|
| +#include "components/version_info/version_info.h"
|
|
|
| namespace browser_sync {
|
|
|
| void ChromeReportUnrecoverableError() {
|
| // Only upload on canary/dev builds to avoid overwhelming crash server.
|
| - version_info::Channel channel = chrome::VersionInfo::GetChannel();
|
| + version_info::Channel channel = chrome::GetChannel();
|
| if (channel != version_info::Channel::CANARY &&
|
| channel != version_info::Channel::DEV) {
|
| return;
|
|
|