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

Side by Side Diff: chrome/browser/sync/profile_sync_service.h

Issue 1285443002: move V2 classes in chrome/engine to syncer_v2 namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 // Called by a component that supports non-blocking sync when it is ready to 349 // Called by a component that supports non-blocking sync when it is ready to
350 // initialize its connection to the sync backend. 350 // initialize its connection to the sync backend.
351 // 351 //
352 // If policy allows for syncing this type (ie. it is "preferred"), then this 352 // If policy allows for syncing this type (ie. it is "preferred"), then this
353 // should result in a message to enable syncing for this type when the sync 353 // should result in a message to enable syncing for this type when the sync
354 // backend is available. If the type is not to be synced, this should result 354 // backend is available. If the type is not to be synced, this should result
355 // in a message that allows the component to delete its local sync state. 355 // in a message that allows the component to delete its local sync state.
356 void InitializeNonBlockingType( 356 void InitializeNonBlockingType(
357 syncer::ModelType type, 357 syncer::ModelType type,
358 const scoped_refptr<base::SequencedTaskRunner>& task_runner, 358 const scoped_refptr<base::SequencedTaskRunner>& task_runner,
359 const base::WeakPtr<syncer::ModelTypeSyncProxyImpl>& proxy); 359 const base::WeakPtr<syncer_v2::ModelTypeSyncProxyImpl>& proxy);
360 360
361 // Returns the SyncedWindowDelegatesGetter from the embedded sessions manager. 361 // Returns the SyncedWindowDelegatesGetter from the embedded sessions manager.
362 virtual browser_sync::SyncedWindowDelegatesGetter* 362 virtual browser_sync::SyncedWindowDelegatesGetter*
363 GetSyncedWindowDelegatesGetter() const; 363 GetSyncedWindowDelegatesGetter() const;
364 364
365 // Returns the SyncableService for syncer::SESSIONS. 365 // Returns the SyncableService for syncer::SESSIONS.
366 virtual syncer::SyncableService* GetSessionsSyncableService(); 366 virtual syncer::SyncableService* GetSessionsSyncableService();
367 367
368 // Returns the SyncableService for syncer::DEVICE_INFO. 368 // Returns the SyncableService for syncer::DEVICE_INFO.
369 virtual syncer::SyncableService* GetDeviceInfoSyncableService(); 369 virtual syncer::SyncableService* GetDeviceInfoSyncableService();
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_; 1087 base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_;
1088 1088
1089 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 1089 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
1090 }; 1090 };
1091 1091
1092 bool ShouldShowActionOnUI( 1092 bool ShouldShowActionOnUI(
1093 const syncer::SyncProtocolError& error); 1093 const syncer::SyncProtocolError& error);
1094 1094
1095 1095
1096 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 1096 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698