OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_PROCESS_RUNNER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_PROCESS_RUNNER_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_PROCESS_RUNNER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_PROCESS_RUNNER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
16 #include "chrome/browser/sync_file_system/sync_callbacks.h" | 17 #include "chrome/browser/sync_file_system/sync_callbacks.h" |
17 #include "chrome/browser/sync_file_system/sync_service_state.h" | 18 #include "chrome/browser/sync_file_system/sync_service_state.h" |
18 | 19 |
19 namespace sync_file_system { | 20 namespace sync_file_system { |
20 | 21 |
21 class SyncFileSystemService; | 22 class SyncFileSystemService; |
22 | 23 |
23 // A base class to schedule a sync. | 24 // A base class to schedule a sync. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 119 |
119 int64_t pending_changes_; | 120 int64_t pending_changes_; |
120 base::WeakPtrFactory<SyncProcessRunner> factory_; | 121 base::WeakPtrFactory<SyncProcessRunner> factory_; |
121 | 122 |
122 DISALLOW_COPY_AND_ASSIGN(SyncProcessRunner); | 123 DISALLOW_COPY_AND_ASSIGN(SyncProcessRunner); |
123 }; | 124 }; |
124 | 125 |
125 } // namespace sync_file_system | 126 } // namespace sync_file_system |
126 | 127 |
127 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_PROCESS_RUNNER_H_ | 128 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_PROCESS_RUNNER_H_ |
OLD | NEW |