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

Side by Side Diff: sync/internal_api/public/sync_manager.h

Issue 12022041: Separate local and remote sync invalidations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 // be enabled. 419 // be enabled.
420 // Note: opens a transaction. May be called on any thread. 420 // Note: opens a transaction. May be called on any thread.
421 virtual bool ReceivedExperiment(Experiments* experiments) = 0; 421 virtual bool ReceivedExperiment(Experiments* experiments) = 0;
422 422
423 // Uses a read-only transaction to determine if the directory being synced has 423 // Uses a read-only transaction to determine if the directory being synced has
424 // any remaining unsynced items. May be called on any thread. 424 // any remaining unsynced items. May be called on any thread.
425 virtual bool HasUnsyncedItems() = 0; 425 virtual bool HasUnsyncedItems() = 0;
426 426
427 // Returns the SyncManager's encryption handler. 427 // Returns the SyncManager's encryption handler.
428 virtual SyncEncryptionHandler* GetEncryptionHandler() = 0; 428 virtual SyncEncryptionHandler* GetEncryptionHandler() = 0;
429
430 // Ask the SyncManager to fetch updates for the given types.
431 virtual void RefreshTypes(ModelTypeSet types) = 0;
429 }; 432 };
430 433
431 } // namespace syncer 434 } // namespace syncer
432 435
433 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ 436 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698