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

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: Respond to review comments 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
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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 // be enabled. 415 // be enabled.
416 // Note: opens a transaction. May be called on any thread. 416 // Note: opens a transaction. May be called on any thread.
417 virtual bool ReceivedExperiment(Experiments* experiments) = 0; 417 virtual bool ReceivedExperiment(Experiments* experiments) = 0;
418 418
419 // Uses a read-only transaction to determine if the directory being synced has 419 // Uses a read-only transaction to determine if the directory being synced has
420 // any remaining unsynced items. May be called on any thread. 420 // any remaining unsynced items. May be called on any thread.
421 virtual bool HasUnsyncedItems() = 0; 421 virtual bool HasUnsyncedItems() = 0;
422 422
423 // Returns the SyncManager's encryption handler. 423 // Returns the SyncManager's encryption handler.
424 virtual SyncEncryptionHandler* GetEncryptionHandler() = 0; 424 virtual SyncEncryptionHandler* GetEncryptionHandler() = 0;
425
426 // Ask the SyncManager to fetch updates for the given types.
427 virtual void RefreshTypes(ModelTypeSet types) = 0;
425 }; 428 };
426 429
427 } // namespace syncer 430 } // namespace syncer
428 431
429 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ 432 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698