Searched refs:sync_context_ (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/sync/internal_api/
H A Dsync_context_proxy_impl.cc19 : sync_task_runner_(sync_task_runner), sync_context_(sync_context) {
33 sync_context_,
44 base::Bind(&SyncContext::DisconnectSyncWorker, sync_context_, type));
49 new SyncContextProxyImpl(sync_task_runner_, sync_context_));
H A Dsync_context_proxy_impl.h56 base::WeakPtr<SyncContext> sync_context_; member in class:syncer::SyncContextProxyImpl
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Duninstall_app_task.cc27 : sync_context_(sync_context),
93 return sync_context_->GetMetadataDatabase() &&
94 sync_context_->GetDriveService();
98 return sync_context_->GetMetadataDatabase();
103 return sync_context_->GetDriveService();
H A Dsync_engine_initializer.cc61 : sync_context_(sync_context),
77 DCHECK(sync_context_);
78 DCHECK(sync_context_->GetDriveService());
81 if (sync_context_->GetMetadataDatabase()) {
118 sync_context_->GetDriveService()->GetAboutResource(
154 cancel_callback_ = sync_context_->GetDriveService()->SearchByTitle(
208 cancel_callback_ = sync_context_->GetDriveService()->GetRemainingFileList(
232 cancel_callback_ = sync_context_->GetDriveService()->AddNewDirectory(
262 sync_context_->GetDriveService()->RemoveResourceFromDirectory(
291 sync_context_
[all...]
H A Dlist_changes_task.cc29 : sync_context_(sync_context),
136 return sync_context_->GetMetadataDatabase() &&
137 sync_context_->GetDriveService();
141 return sync_context_->GetMetadataDatabase();
146 return sync_context_->GetDriveService();
H A Duninstall_app_task.h53 SyncEngineContext* sync_context_; // Not owned. member in class:sync_file_system::drive_backend::UninstallAppTask
H A Dregister_app_task.cc36 : sync_context_(sync_context),
177 return sync_context_->GetMetadataDatabase();
181 return sync_context_->GetDriveService();
H A Dsync_engine_initializer_unittest.cc55 sync_context_.reset(new SyncEngineContext(
72 sync_context_.reset();
82 new SyncEngineInitializer(sync_context_.get(),
135 sync_context_->GetDriveService()->AddNewDirectory(
151 sync_context_->GetDriveService()->RemoveResourceFromDirectory(
185 sync_context_->GetDriveService()->GetFileResource(
205 sync_context_->GetDriveService()->AddResourceToDirectory(
219 scoped_ptr<SyncEngineContext> sync_context_; member in class:sync_file_system::drive_backend::SyncEngineInitializerTest
H A Dlist_changes_task.h48 SyncEngineContext* sync_context_; member in class:sync_file_system::drive_backend::ListChangesTask
H A Dregister_app_task.h55 SyncEngineContext* sync_context_; // Not owned. member in class:sync_file_system::drive_backend::RegisterAppTask
H A Dconflict_resolver.cc28 : sync_context_(sync_context),
277 return sync_context_->GetDriveService() &&
278 sync_context_->GetMetadataDatabase();
320 return sync_context_->GetDriveService();
324 return sync_context_->GetMetadataDatabase();
H A Dlocal_to_remote_syncer.cc79 : sync_context_(sync_context),
494 DCHECK(sync_context_->GetWorkerTaskRunner()->RunsTasksOnCurrentThread());
597 DCHECK(sync_context_->GetWorkerTaskRunner()->RunsTasksOnCurrentThread());
734 return sync_context_->GetDriveService() &&
735 sync_context_->GetDriveUploader() &&
736 sync_context_->GetMetadataDatabase();
741 return sync_context_->GetDriveService();
746 return sync_context_->GetDriveUploader();
750 return sync_context_->GetMetadataDatabase();
H A Dconflict_resolver.h78 SyncEngineContext* sync_context_; // Not owned. member in class:sync_file_system::drive_backend::ConflictResolver
H A Dsync_engine_initializer.h103 SyncEngineContext* sync_context_; // Not owned. member in class:sync_file_system::drive_backend::SyncEngineInitializer
H A Dremote_to_local_syncer.cc96 : sync_context_(sync_context),
405 DCHECK(sync_context_->GetWorkerTaskRunner()->RunsTasksOnCurrentThread());
781 DCHECK(sync_context_->GetWorkerTaskRunner()->RunsTasksOnCurrentThread());
784 make_scoped_refptr(sync_context_->GetWorkerTaskRunner()));
800 DCHECK(sync_context_->GetWorkerTaskRunner()->RunsTasksOnCurrentThread());
844 return sync_context_->GetDriveService();
848 return sync_context_->GetMetadataDatabase();
852 DCHECK(sync_context_->GetRemoteChangeProcessor());
853 return sync_context_->GetRemoteChangeProcessor();
H A Dlocal_to_remote_syncer.h108 SyncEngineContext* sync_context_; // Not owned. member in class:sync_file_system::drive_backend::LocalToRemoteSyncer
H A Dremote_to_local_syncer.h200 SyncEngineContext* sync_context_; // Not owned. member in class:sync_file_system::drive_backend::RemoteToLocalSyncer
/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dlocal_file_sync_context_unittest.cc89 sync_context_->PrepareForSync(
156 sync_context_->ApplyRemoteChange(
169 sync_context_->FinalizeExclusiveSync(
219 sync_context_->FinalizeSnapshotSync(
223 sync_context_->FinalizeExclusiveSync(
237 sync_context_ = new LocalFileSyncContext(
242 sync_context_.get()));
276 sync_context_->ShutdownOnUIThread();
277 sync_context_ = NULL;
289 sync_context_
357 scoped_refptr<LocalFileSyncContext> sync_context_; member in class:sync_file_system::LocalFileSyncContextTest
[all...]
H A Dlocal_file_sync_service.cc118 sync_service->sync_context_->set_mock_notify_changes_duration_in_sec(0);
127 sync_context_->RemoveOriginChangeObserver(this);
128 sync_context_->ShutdownOnUIThread();
136 sync_context_->MaybeInitializeFileSystemContext(
150 sync_context_->RegisterURLForWaitingSync(url, on_syncable_callback);
169 sync_context_->GetFileForLocalSync(
194 sync_context_->HasPendingLocalChanges(
210 sync_context_->PromoteDemotedChanges(iter->first, iter->second,
217 sync_context_->GetFileMetadata(origin_to_contexts_[url.origin()],
265 sync_context_
[all...]
H A Dsyncable_file_system_unittest.cc49 sync_context_ =
56 file_system_.MaybeInitializeFileSystemContext(sync_context_.get()));
60 if (sync_context_.get())
61 sync_context_->ShutdownOnUIThread();
62 sync_context_ = NULL;
107 scoped_refptr<LocalFileSyncContext> sync_context_; member in class:sync_file_system::SyncableFileSystemTest
H A Dsyncable_file_operation_runner_unittest.cc70 sync_context_ = new LocalFileSyncContext(
77 file_system_.MaybeInitializeFileSystemContext(sync_context_.get()));
85 if (sync_context_.get())
86 sync_context_->ShutdownOnUIThread();
87 sync_context_ = NULL;
146 scoped_refptr<LocalFileSyncContext> sync_context_; member in class:sync_file_system::SyncableFileOperationRunnerTest
348 sync_context_->ShutdownOnUIThread();
349 sync_context_ = NULL;
H A Dsync_file_system_backend.h75 LocalFileSyncContext* sync_context() { return sync_context_.get(); }
99 scoped_refptr<LocalFileSyncContext> sync_context_; member in class:sync_file_system::SyncFileSystemBackend
H A Dlocal_file_sync_service.h227 scoped_refptr<LocalFileSyncContext> sync_context_; member in class:sync_file_system::LocalFileSyncService
H A Dsync_file_system_backend.cc256 DCHECK(!sync_context_.get());
257 sync_context_ = sync_context;
H A Dlocal_file_change_tracker_unittest.cc49 sync_context_ =
56 file_system_.MaybeInitializeFileSystemContext(sync_context_.get()));
60 if (sync_context_.get())
61 sync_context_->ShutdownOnUIThread();
62 sync_context_ = NULL;
119 scoped_refptr<LocalFileSyncContext> sync_context_; member in class:sync_file_system::LocalFileChangeTrackerTest

Completed in 2030 milliseconds

12