Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROFILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 353 // Called by a component that supports non-blocking sync when it is ready to | 353 // Called by a component that supports non-blocking sync when it is ready to |
| 354 // initialize its connection to the sync backend. | 354 // initialize its connection to the sync backend. |
| 355 // | 355 // |
| 356 // If policy allows for syncing this type (ie. it is "preferred"), then this | 356 // If policy allows for syncing this type (ie. it is "preferred"), then this |
| 357 // should result in a message to enable syncing for this type when the sync | 357 // should result in a message to enable syncing for this type when the sync |
| 358 // backend is available. If the type is not to be synced, this should result | 358 // backend is available. If the type is not to be synced, this should result |
| 359 // in a message that allows the component to delete its local sync state. | 359 // in a message that allows the component to delete its local sync state. |
| 360 void InitializeNonBlockingType( | 360 void InitializeNonBlockingType( |
| 361 syncer::ModelType type, | 361 syncer::ModelType type, |
| 362 const scoped_refptr<base::SequencedTaskRunner>& task_runner, | 362 const scoped_refptr<base::SequencedTaskRunner>& task_runner, |
| 363 const base::WeakPtr<syncer_v2::ModelTypeSyncProxyImpl>& proxy); | 363 const base::WeakPtr<syncer_v2::ModelTypeProcessorImpl>& proxy); |
|
stanisc
2015/08/29 00:10:00
This change was supposed to be limited to interfac
Gang Wu
2015/08/29 05:03:02
Done.
| |
| 364 | 364 |
| 365 // Returns the SyncedWindowDelegatesGetter from the embedded sessions manager. | 365 // Returns the SyncedWindowDelegatesGetter from the embedded sessions manager. |
| 366 virtual browser_sync::SyncedWindowDelegatesGetter* | 366 virtual browser_sync::SyncedWindowDelegatesGetter* |
| 367 GetSyncedWindowDelegatesGetter() const; | 367 GetSyncedWindowDelegatesGetter() const; |
| 368 | 368 |
| 369 // Returns the SyncableService for syncer::SESSIONS. | 369 // Returns the SyncableService for syncer::SESSIONS. |
| 370 virtual syncer::SyncableService* GetSessionsSyncableService(); | 370 virtual syncer::SyncableService* GetSessionsSyncableService(); |
| 371 | 371 |
| 372 // Returns the SyncableService for syncer::DEVICE_INFO. | 372 // Returns the SyncableService for syncer::DEVICE_INFO. |
| 373 virtual syncer::SyncableService* GetDeviceInfoSyncableService(); | 373 virtual syncer::SyncableService* GetDeviceInfoSyncableService(); |
| (...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1081 base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_; | 1081 base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_; |
| 1082 | 1082 |
| 1083 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); | 1083 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); |
| 1084 }; | 1084 }; |
| 1085 | 1085 |
| 1086 bool ShouldShowActionOnUI( | 1086 bool ShouldShowActionOnUI( |
| 1087 const syncer::SyncProtocolError& error); | 1087 const syncer::SyncProtocolError& error); |
| 1088 | 1088 |
| 1089 | 1089 |
| 1090 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ | 1090 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ |
| OLD | NEW |