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

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

Issue 224563004: sync: Re-implement getAllNodes WebUI function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix Created 6 years, 8 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 // Note: opens a transaction. May be called on any thread. 345 // Note: opens a transaction. May be called on any thread.
346 virtual bool ReceivedExperiment(Experiments* experiments) = 0; 346 virtual bool ReceivedExperiment(Experiments* experiments) = 0;
347 347
348 // Uses a read-only transaction to determine if the directory being synced has 348 // Uses a read-only transaction to determine if the directory being synced has
349 // any remaining unsynced items. May be called on any thread. 349 // any remaining unsynced items. May be called on any thread.
350 virtual bool HasUnsyncedItems() = 0; 350 virtual bool HasUnsyncedItems() = 0;
351 351
352 // Returns the SyncManager's encryption handler. 352 // Returns the SyncManager's encryption handler.
353 virtual SyncEncryptionHandler* GetEncryptionHandler() = 0; 353 virtual SyncEncryptionHandler* GetEncryptionHandler() = 0;
354 354
355 virtual scoped_ptr<base::ListValue> GetAllNodesForType(
356 syncer::ModelType type) = 0;
357
355 // Ask the SyncManager to fetch updates for the given types. 358 // Ask the SyncManager to fetch updates for the given types.
356 virtual void RefreshTypes(ModelTypeSet types) = 0; 359 virtual void RefreshTypes(ModelTypeSet types) = 0;
357 360
358 // Returns any buffered protocol events. Does not clear the buffer. 361 // Returns any buffered protocol events. Does not clear the buffer.
359 virtual ScopedVector<syncer::ProtocolEvent> GetBufferedProtocolEvents() = 0; 362 virtual ScopedVector<syncer::ProtocolEvent> GetBufferedProtocolEvents() = 0;
360 }; 363 };
361 364
362 } // namespace syncer 365 } // namespace syncer
363 366
364 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_ 367 #endif // SYNC_INTERNAL_API_PUBLIC_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/engine/directory_type_debug_info_emitter.cc ('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