HomeSort by relevance Sort by last modified time
    Searched refs:SyncTaskToken (Results 1 - 20 of 20) sorted by null

  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
remote_to_local_syncer.h 52 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE;
53 void RunExclusive(scoped_ptr<SyncTaskToken> token);
106 void ResolveRemoteChange(scoped_ptr<SyncTaskToken> token);
108 void MoveToBackground(scoped_ptr<SyncTaskToken> token,
111 scoped_ptr<SyncTaskToken> token);
117 void HandleMissingRemoteMetadata(scoped_ptr<SyncTaskToken> token);
118 void DidGetRemoteMetadata(scoped_ptr<SyncTaskToken> token,
134 void DidPrepareForAddOrUpdateFile(scoped_ptr<SyncTaskToken> token,
139 void HandleFolderUpdate(scoped_ptr<SyncTaskToken> token);
140 void DidPrepareForFolderUpdate(scoped_ptr<SyncTaskToken> token
    [all...]
sync_task_token.cc 16 const int64 SyncTaskToken::kTestingTaskTokenID = -1;
17 const int64 SyncTaskToken::kForegroundTaskTokenID = 0;
18 const int64 SyncTaskToken::kMinimumBackgroundTaskTokenID = 1;
21 scoped_ptr<SyncTaskToken> SyncTaskToken::CreateForTesting(
23 return make_scoped_ptr(new SyncTaskToken(
32 scoped_ptr<SyncTaskToken> SyncTaskToken::CreateForForegroundTask(
35 return make_scoped_ptr(new SyncTaskToken(
44 scoped_ptr<SyncTaskToken> SyncTaskToken::CreateForBackgroundTask
    [all...]
local_to_remote_syncer.h 43 typedef base::Callback<void(scoped_ptr<SyncTaskToken>)> Continuation;
51 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE;
62 scoped_ptr<SyncTaskToken> token);
64 scoped_ptr<SyncTaskToken> token);
65 void SyncCompleted(scoped_ptr<SyncTaskToken> token,
68 void HandleConflict(scoped_ptr<SyncTaskToken> token);
69 void HandleExistingRemoteFile(scoped_ptr<SyncTaskToken> token);
72 scoped_ptr<SyncTaskToken> token);
74 void DeleteRemoteFile(scoped_ptr<SyncTaskToken> token);
75 void DidDeleteRemoteFile(scoped_ptr<SyncTaskToken> token
    [all...]
sync_engine_initializer.h 73 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE;
80 void GetAboutResource(scoped_ptr<SyncTaskToken> token);
82 scoped_ptr<SyncTaskToken> token,
85 void FindSyncRoot(scoped_ptr<SyncTaskToken> token);
86 void DidFindSyncRoot(scoped_ptr<SyncTaskToken> token,
89 void CreateSyncRoot(scoped_ptr<SyncTaskToken> token);
90 void DidCreateSyncRoot(scoped_ptr<SyncTaskToken> token,
93 void DetachSyncRoot(scoped_ptr<SyncTaskToken> token);
94 void DidDetachSyncRoot(scoped_ptr<SyncTaskToken> token,
96 void ListAppRootFolders(scoped_ptr<SyncTaskToken> token)
    [all...]
sync_task.h 15 class SyncTaskToken;
21 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) = 0;
41 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE FINAL;
conflict_resolver.h 45 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE;
46 void RunExclusive(scoped_ptr<SyncTaskToken> token);
51 void DetachFromNonPrimaryParents(scoped_ptr<SyncTaskToken> token);
52 void DidDetachFromParent(scoped_ptr<SyncTaskToken> token,
56 void RemoveNonPrimaryFiles(scoped_ptr<SyncTaskToken> token);
57 void DidRemoveFile(scoped_ptr<SyncTaskToken> token,
62 scoped_ptr<SyncTaskToken> token);
64 scoped_ptr<SyncTaskToken> token,
sync_task.cc 18 scoped_ptr<SyncTaskToken> token) {
20 task->RunExclusive(SyncTaskToken::WrapToCallback(token.Pass()));
28 void ExclusiveTask::RunPreflight(scoped_ptr<SyncTaskToken> token) {
list_changes_task.h 34 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE;
37 void StartListing(scoped_ptr<SyncTaskToken> token);
38 void DidListChanges(scoped_ptr<SyncTaskToken> token,
42 scoped_ptr<SyncTaskToken> token);
sync_task_token.h 23 class SyncTaskToken {
29 static scoped_ptr<SyncTaskToken> CreateForTesting(
31 static scoped_ptr<SyncTaskToken> CreateForForegroundTask(
34 static scoped_ptr<SyncTaskToken> CreateForBackgroundTask(
44 virtual ~SyncTaskToken();
46 static SyncStatusCallback WrapToCallback(scoped_ptr<SyncTaskToken> token);
68 SyncTaskToken(const base::WeakPtr<SyncTaskManager>& manager,
83 DISALLOW_COPY_AND_ASSIGN(SyncTaskToken);
sync_task_manager.h 33 class SyncTaskToken;
46 typedef base::Callback<void(scoped_ptr<SyncTaskToken> token)> Continuation;
102 static void NotifyTaskDone(scoped_ptr<SyncTaskToken> token,
112 // with new SyncTaskToken.
116 static void UpdateTaskBlocker(scoped_ptr<SyncTaskToken> current_task_token,
141 void NotifyTaskDoneBody(scoped_ptr<SyncTaskToken> token,
145 void UpdateTaskBlockerBody(scoped_ptr<SyncTaskToken> foreground_task_token,
146 scoped_ptr<SyncTaskToken> background_task_token,
152 scoped_ptr<SyncTaskToken> GetToken(const tracked_objects::Location& from_here,
155 scoped_ptr<SyncTaskToken> GetTokenForBackgroundTask
    [all...]
sync_task_manager.cc 62 task_token_seq_(SyncTaskToken::kMinimumBackgroundTaskTokenID),
75 SyncTaskToken::CreateForForegroundTask(AsWeakPtr(), task_runner_.get()),
99 scoped_ptr<SyncTaskToken> token(GetToken(from_here, callback));
128 scoped_ptr<SyncTaskToken> token(GetToken(from_here, callback));
136 void SyncTaskManager::NotifyTaskDone(scoped_ptr<SyncTaskToken> token,
141 if (token->token_id() == SyncTaskToken::kTestingTaskTokenID) {
155 scoped_ptr<SyncTaskToken> current_task_token,
161 if (current_task_token->token_id() == SyncTaskToken::kTestingTaskTokenID) {
170 scoped_ptr<SyncTaskToken> foreground_task_token;
171 scoped_ptr<SyncTaskToken> background_task_token
    [all...]
sync_engine_initializer.cc 47 typedef base::Callback<void(scoped_ptr<SyncTaskToken> token,
75 void SyncEngineInitializer::RunPreflight(scoped_ptr<SyncTaskToken> token) {
116 scoped_ptr<SyncTaskToken> token) {
124 scoped_ptr<SyncTaskToken> token,
145 void SyncEngineInitializer::FindSyncRoot(scoped_ptr<SyncTaskToken> token) {
163 scoped_ptr<SyncTaskToken> token,
229 void SyncEngineInitializer::CreateSyncRoot(scoped_ptr<SyncTaskToken> token) {
241 scoped_ptr<SyncTaskToken> token,
258 void SyncEngineInitializer::DetachSyncRoot(scoped_ptr<SyncTaskToken> token) {
271 scoped_ptr<SyncTaskToken> token
    [all...]
local_to_remote_syncer.cc 97 void LocalToRemoteSyncer::RunPreflight(scoped_ptr<SyncTaskToken> token) {
251 scoped_ptr<SyncTaskToken> token) {
280 scoped_ptr<SyncTaskToken> token) {
316 void LocalToRemoteSyncer::SyncCompleted(scoped_ptr<SyncTaskToken> token,
334 void LocalToRemoteSyncer::HandleConflict(scoped_ptr<SyncTaskToken> token) {
388 scoped_ptr<SyncTaskToken> token) {
395 scoped_ptr<SyncTaskToken> token) {
452 void LocalToRemoteSyncer::DeleteRemoteFile(scoped_ptr<SyncTaskToken> token) {
465 scoped_ptr<SyncTaskToken> token,
491 void LocalToRemoteSyncer::UploadExistingFile(scoped_ptr<SyncTaskToken> token)
    [all...]
list_changes_task.cc 36 void ListChangesTask::RunPreflight(scoped_ptr<SyncTaskToken> token) {
52 void ListChangesTask::StartListing(scoped_ptr<SyncTaskToken> token) {
60 scoped_ptr<SyncTaskToken> token,
113 scoped_ptr<SyncTaskToken> token) {
conflict_resolver.cc 33 void ConflictResolver::RunPreflight(scoped_ptr<SyncTaskToken> token) {
44 void ConflictResolver::RunExclusive(scoped_ptr<SyncTaskToken> token) {
129 scoped_ptr<SyncTaskToken> token) {
148 void ConflictResolver::DidDetachFromParent(scoped_ptr<SyncTaskToken> token,
229 void ConflictResolver::RemoveNonPrimaryFiles(scoped_ptr<SyncTaskToken> token) {
250 void ConflictResolver::DidRemoveFile(scoped_ptr<SyncTaskToken> token,
283 scoped_ptr<SyncTaskToken> token) {
293 scoped_ptr<SyncTaskToken> token,
remote_to_local_syncer.cc 106 void RemoteToLocalSyncer::RunPreflight(scoped_ptr<SyncTaskToken> token) {
128 void RemoteToLocalSyncer::ResolveRemoteChange(scoped_ptr<SyncTaskToken> token) {
307 void RemoteToLocalSyncer::MoveToBackground(scoped_ptr<SyncTaskToken> token,
326 scoped_ptr<SyncTaskToken> token) {
391 scoped_ptr<SyncTaskToken> token) {
402 scoped_ptr<SyncTaskToken> token,
440 scoped_ptr<SyncTaskToken> token,
490 scoped_ptr<SyncTaskToken> token) {
506 scoped_ptr<SyncTaskToken> token,
545 scoped_ptr<SyncTaskToken> token)
    [all...]
sync_task_manager_unittest.cc 194 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE {
206 void RunAsBackgroundTask(scoped_ptr<SyncTaskToken> token) {
218 void CompleteTask(scoped_ptr<SyncTaskToken> token) {
251 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE {
256 void UpdateBlocker(scoped_ptr<SyncTaskToken> token) {
282 scoped_ptr<SyncTaskToken> token) {
conflict_resolver_unittest.cc 183 syncer->RunPreflight(SyncTaskToken::CreateForTesting(
199 syncer->RunPreflight(SyncTaskToken::CreateForTesting(
225 resolver.RunPreflight(SyncTaskToken::CreateForTesting(
local_to_remote_syncer_unittest.cc 174 syncer->RunPreflight(SyncTaskToken::CreateForTesting(
195 syncer->RunPreflight(SyncTaskToken::CreateForTesting(
remote_to_local_syncer_unittest.cc 183 syncer->RunPreflight(SyncTaskToken::CreateForTesting(

Completed in 1380 milliseconds