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

Unified Diff: components/sync_driver/backup_rollback_controller.h

Issue 1354883003: Componentize chrome/browser/sync/backup_rollback_controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated Created 5 years, 3 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_driver/BUILD.gn ('k') | components/sync_driver/backup_rollback_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/backup_rollback_controller.h
diff --git a/chrome/browser/sync/backup_rollback_controller.h b/components/sync_driver/backup_rollback_controller.h
similarity index 88%
rename from chrome/browser/sync/backup_rollback_controller.h
rename to components/sync_driver/backup_rollback_controller.h
index 00b6329313262035a42a5eb7a4315f5fedfe2145..cd9e33184b133e11a27cfe42a5401406edc1fbcc 100644
--- a/chrome/browser/sync/backup_rollback_controller.h
+++ b/components/sync_driver/backup_rollback_controller.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 CHROME_BROWSER_SYNC_BACKUP_ROLLBACK_CONTROLLER_H_
-#define CHROME_BROWSER_SYNC_BACKUP_ROLLBACK_CONTROLLER_H_
+#ifndef COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_
+#define COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
@@ -11,10 +11,8 @@
class SigninManagerWrapper;
namespace sync_driver {
-class SyncPrefs;
-}
-namespace browser_sync {
+class SyncPrefs;
// BackupRollbackController takes two closures for starting backup/rollback
// process. It calls the closures according to user's signin status or
@@ -58,6 +56,6 @@ class BackupRollbackController {
DISALLOW_COPY_AND_ASSIGN(BackupRollbackController);
};
-} // namespace browser_sync
+} // namespace sync_driver
-#endif // CHROME_BROWSER_SYNC_BACKUP_ROLLBACK_CONTROLLER_H_
+#endif // COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_
« no previous file with comments | « components/sync_driver/BUILD.gn ('k') | components/sync_driver/backup_rollback_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698