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

Unified Diff: components/sync/base/report_unrecoverable_error.cc

Issue 2395533003: [Sync] Move some things from driver to base. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 | « components/sync/base/report_unrecoverable_error.h ('k') | components/sync/base/sync_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/report_unrecoverable_error.cc
diff --git a/components/sync/driver/glue/chrome_report_unrecoverable_error.cc b/components/sync/base/report_unrecoverable_error.cc
similarity index 84%
rename from components/sync/driver/glue/chrome_report_unrecoverable_error.cc
rename to components/sync/base/report_unrecoverable_error.cc
index 484421c507844943a49334bc71ce05d7069ecfe7..04e5f58ffd0d04e7fe97f2417ee7b766d5050ac5 100644
--- a/components/sync/driver/glue/chrome_report_unrecoverable_error.cc
+++ b/components/sync/base/report_unrecoverable_error.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/sync/driver/glue/chrome_report_unrecoverable_error.h"
+#include "components/sync/base/report_unrecoverable_error.h"
#include "base/debug/dump_without_crashing.h"
#include "base/rand_util.h"
namespace syncer {
-void ChromeReportUnrecoverableError(version_info::Channel channel) {
+void ReportUnrecoverableError(version_info::Channel channel) {
// Only upload on canary/dev builds to avoid overwhelming crash server.
if (channel != version_info::Channel::CANARY &&
channel != version_info::Channel::DEV) {
« no previous file with comments | « components/sync/base/report_unrecoverable_error.h ('k') | components/sync/base/sync_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698