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

Unified Diff: chrome/browser/sync/glue/chrome_report_unrecoverable_error.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/browser/sync/about_sync_util.cc ('k') | chrome/browser/sync/glue/local_device_info_provider_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/sync/about_sync_util.cc ('k') | chrome/browser/sync/glue/local_device_info_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698