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

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

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/pref_names.cc ('k') | components/sync/base/report_unrecoverable_error.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/report_unrecoverable_error.h
diff --git a/components/sync/driver/glue/chrome_report_unrecoverable_error.h b/components/sync/base/report_unrecoverable_error.h
similarity index 57%
rename from components/sync/driver/glue/chrome_report_unrecoverable_error.h
rename to components/sync/base/report_unrecoverable_error.h
index da73d2f02570aac809d52e067d24876ac98e2556..1b4a8136a8d788d4d3a8946f38d97329e702898e 100644
--- a/components/sync/driver/glue/chrome_report_unrecoverable_error.h
+++ b/components/sync/base/report_unrecoverable_error.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_
-#define COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_
+#ifndef COMPONENTS_SYNC_BASE_REPORT_UNRECOVERABLE_ERROR_H_
+#define COMPONENTS_SYNC_BASE_REPORT_UNRECOVERABLE_ERROR_H_
#include "components/version_info/version_info.h"
@@ -11,8 +11,8 @@ namespace syncer {
// Sends a minidump via breakpad for canary/dev channels at a hardcoded
// sampling rate. Does nothing on beta/stable builds.
-void ChromeReportUnrecoverableError(version_info::Channel channel);
+void ReportUnrecoverableError(version_info::Channel channel);
} // namespace syncer
-#endif // COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_
+#endif // COMPONENTS_SYNC_BASE_REPORT_UNRECOVERABLE_ERROR_H_
« no previous file with comments | « components/sync/base/pref_names.cc ('k') | components/sync/base/report_unrecoverable_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698