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

Side by Side Diff: chrome\browser\sync\engine\syncapi.h

Issue 159728: Add browser/sync to the repository. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This file defines the "sync API", an interface to the syncer 5 // This file defines the "sync API", an interface to the syncer
6 // backend that exposes (1) the core functionality of maintaining a consistent 6 // backend that exposes (1) the core functionality of maintaining a consistent
7 // local snapshot of a hierarchical object set; (2) a means to transactionally 7 // local snapshot of a hierarchical object set; (2) a means to transactionally
8 // access and modify those objects; (3) a means to control client/server 8 // access and modify those objects; (3) a means to control client/server
9 // synchronization tasks, namely: pushing local object modifications to a 9 // synchronization tasks, namely: pushing local object modifications to a
10 // server, pulling nonlocal object modifications from a server to this client, 10 // server, pulling nonlocal object modifications from a server to this client,
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 // Subclasses should implement to invoke DoWork on |visitor| once on a thread 700 // Subclasses should implement to invoke DoWork on |visitor| once on a thread
701 // appropriate for data model modifications. 701 // appropriate for data model modifications.
702 // While it doesn't hurt, the impl does not need to be re-entrant (for now). 702 // While it doesn't hurt, the impl does not need to be re-entrant (for now).
703 // Note: |visitor| is owned by caller. 703 // Note: |visitor| is owned by caller.
704 virtual void CallDoWorkFromModelSafeThreadAndWait(Visitor* visitor) = 0; 704 virtual void CallDoWorkFromModelSafeThreadAndWait(Visitor* visitor) = 0;
705 }; 705 };
706 706
707 } // namespace sync_api 707 } // namespace sync_api
708 708
709 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_ 709 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_H_
OLDNEW
« no previous file with comments | « chrome\browser\sync\auth_error_state.h ('k') | chrome\browser\sync\glue\bookmark_model_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698