HomeSort by relevance Sort by last modified time
    Searched refs:ModelSafeWorker (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/chromium/chrome/browser/sync/engine/
model_safe_worker.cc 41 ModelSafeWorker::ModelSafeWorker() {}
43 ModelSafeWorker::~ModelSafeWorker() {}
45 void ModelSafeWorker::DoWorkAndWaitUntilDone(Callback0::Type* work) {
49 ModelSafeGroup ModelSafeWorker::GetModelSafeGroup() {
53 bool ModelSafeWorker::CurrentThreadIsWorkThread() {
model_safe_worker.h 35 // The Syncer uses a ModelSafeWorker for all tasks that could potentially
36 // modify syncable entries (e.g under a WriteTransaction). The ModelSafeWorker
42 class ModelSafeWorker : public base::RefCountedThreadSafe<ModelSafeWorker> {
44 ModelSafeWorker();
45 virtual ~ModelSafeWorker();
61 friend class base::RefCountedThreadSafe<ModelSafeWorker>;
63 DISALLOW_COPY_AND_ASSIGN(ModelSafeWorker);
88 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) = 0;
mock_model_safe_workers.h 17 class MockUIModelWorker : public ModelSafeWorker {
23 class MockDBModelWorker : public ModelSafeWorker {
35 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out);
41 scoped_refptr<ModelSafeWorker> passive_worker_;
mock_model_safe_workers.cc 23 m->passive_worker_ = new ModelSafeWorker();
37 m->passive_worker_ = new ModelSafeWorker();
43 std::vector<ModelSafeWorker*>* out) {
model_changing_syncer_command.cc 21 ModelSafeWorker* worker = session->workers()[i];
  /external/chromium_org/sync/internal_api/public/engine/
model_safe_worker.cc 85 ModelSafeWorker::ModelSafeWorker(WorkerLoopDestructionObserver* observer)
92 ModelSafeWorker::~ModelSafeWorker() {}
94 void ModelSafeWorker::RequestStop() {
105 SyncerError ModelSafeWorker::DoWorkAndWaitUntilDone(const WorkCallback& work) {
117 bool ModelSafeWorker::IsStopped() {
122 void ModelSafeWorker::WillDestroyCurrentMessageLoop() {
146 void ModelSafeWorker::SetWorkingLoopToCurrent() {
153 void ModelSafeWorker::UnregisterForLoopDestruction
    [all...]
passive_model_worker.h 16 // Implementation of ModelSafeWorker for passive types. All work is
19 class SYNC_EXPORT PassiveModelWorker : public ModelSafeWorker {
24 // ModelSafeWorker implementation. Called on the sync thread.
model_safe_worker.h 57 // The Syncer uses a ModelSafeWorker for all tasks that could potentially
58 // modify syncable entries (e.g under a WriteTransaction). The ModelSafeWorker
63 // syncable::Directory due to a race. Each ModelSafeWorker is affiliated with
67 class SYNC_EXPORT ModelSafeWorker
68 : public base::RefCountedThreadSafe<ModelSafeWorker>,
96 friend class base::RefCountedThreadSafe<ModelSafeWorker>;
98 explicit ModelSafeWorker(WorkerLoopDestructionObserver* observer);
99 virtual ~ModelSafeWorker();
passive_model_worker.cc 13 : ModelSafeWorker(observer),
  /external/chromium/chrome/browser/sync/glue/
database_model_worker.h 18 // A ModelSafeWorker for database models (eg. autofill) that accepts requests
20 class DatabaseModelWorker : public browser_sync::ModelSafeWorker {
24 // ModelSafeWorker implementation. Called on syncapi SyncerThread.
password_model_worker.h 23 // A ModelSafeWorker for password models that accepts requests
26 class PasswordModelWorker : public browser_sync::ModelSafeWorker {
31 // ModelSafeWorker implementation. Called on syncapi SyncerThread.
history_model_worker.h 24 // A ModelSafeWorker for history models that accepts requests
26 class HistoryModelWorker : public browser_sync::ModelSafeWorker,
32 // ModelSafeWorker implementation. Called on syncapi SyncerThread.
ui_model_worker.h 24 // A ModelSafeWorker for UI models (e.g. bookmarks) that accepts work requests
32 class UIModelWorker : public browser_sync::ModelSafeWorker {
68 // ModelSafeWorker implementation. Called on syncapi SyncerThread.
73 // Upon receiving this idempotent call, the ModelSafeWorker can
  /external/chromium_org/chrome/browser/sync/glue/
ui_model_worker.h 17 // A syncer::ModelSafeWorker for UI models (e.g. bookmarks) that
20 class UIModelWorker : public syncer::ModelSafeWorker {
24 // syncer::ModelSafeWorker implementation. Called on syncapi SyncerThread.
history_model_worker.h 23 // A syncer::ModelSafeWorker for history models that accepts requests
25 class HistoryModelWorker : public syncer::ModelSafeWorker {
31 // syncer::ModelSafeWorker implementation. Called on syncapi SyncerThread.
password_model_worker.h 23 // A syncer::ModelSafeWorker for password models that accepts requests
26 class PasswordModelWorker : public syncer::ModelSafeWorker {
31 // syncer::ModelSafeWorker implementation. Called on syncapi SyncerThread.
sync_backend_registrar.h 112 void GetWorkers(std::vector<syncer::ModelSafeWorker*>* out);
128 scoped_refptr<syncer::ModelSafeWorker> > WorkerMap;
181 std::vector<scoped_refptr<syncer::ModelSafeWorker> > stopped_workers_;
  /external/chromium_org/sync/test/engine/
fake_model_worker.cc 10 : ModelSafeWorker(NULL),
fake_model_worker.h 18 // Fake implementation of ModelSafeWorker that does work on the
20 class FakeModelWorker : public ModelSafeWorker, public base::NonThreadSafe {
24 // ModelSafeWorker implementation.
syncer_command_test.h 82 std::vector<ModelSafeWorker*> GetWorkers() {
83 std::vector<ModelSafeWorker*> workers;
84 std::vector<scoped_refptr<ModelSafeWorker> >::iterator it;
139 std::vector<scoped_refptr<ModelSafeWorker> >* workers() {
194 std::vector<scoped_refptr<ModelSafeWorker> > workers_;
  /external/chromium/chrome/browser/sync/sessions/
sync_session.h 39 class ModelSafeWorker;
87 const std::vector<ModelSafeWorker*>& workers);
125 const std::vector<ModelSafeWorker*>& workers() const { return workers_; }
155 std::vector<ModelSafeWorker*> workers_;
  /external/chromium_org/sync/sessions/
sync_session_unittest.cc 44 scoped_refptr<ModelSafeWorker> passive_worker(
46 scoped_refptr<ModelSafeWorker> ui_worker(
48 scoped_refptr<ModelSafeWorker> db_worker(
55 std::vector<ModelSafeWorker*> workers;
116 void GetWorkers(std::vector<ModelSafeWorker*>* out) const {
118 for (std::vector<scoped_refptr<ModelSafeWorker> >::const_iterator it =
147 std::vector<scoped_refptr<ModelSafeWorker> > workers_;
sync_session_context.h 52 const std::vector<ModelSafeWorker*>& workers,
78 const std::vector<scoped_refptr<ModelSafeWorker> >& workers() const {
158 std::vector<scoped_refptr<ModelSafeWorker> > workers_;
  /external/chromium_org/sync/engine/
model_changing_syncer_command.cc 23 ModelSafeWorker* worker = session->context()->workers()[i].get();
  /external/chromium_org/sync/internal_api/public/
internal_components_factory_impl.h 29 const std::vector<ModelSafeWorker*>& workers,

Completed in 813 milliseconds

1 2 3