OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_ |
6 #define COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_ | 6 #define COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 | 11 |
11 class SigninManagerWrapper; | 12 class SigninManagerWrapper; |
12 | 13 |
13 namespace sync_driver { | 14 namespace sync_driver { |
14 | 15 |
15 class SyncPrefs; | 16 class SyncPrefs; |
16 | 17 |
17 // BackupRollbackController takes two closures for starting backup/rollback | 18 // BackupRollbackController takes two closures for starting backup/rollback |
18 // process. It calls the closures according to user's signin status or | 19 // process. It calls the closures according to user's signin status or |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 53 |
53 base::Closure start_backup_; | 54 base::Closure start_backup_; |
54 base::Closure start_rollback_; | 55 base::Closure start_rollback_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(BackupRollbackController); | 57 DISALLOW_COPY_AND_ASSIGN(BackupRollbackController); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace sync_driver | 60 } // namespace sync_driver |
60 | 61 |
61 #endif // COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_ | 62 #endif // COMPONENTS_SYNC_DRIVER_BACKUP_ROLLBACK_CONTROLLER_H_ |
OLD | NEW |