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

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

Issue 1325453003: [Sync] rename USS processor / worker interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | sync/engine/commit_queue_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698