Home
last modified time | relevance | path

Searched refs:SyncStatusCode (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dmetadata_database.h127 SyncStatusCode* status);
132 SyncStatusCode* status);
133 static SyncStatusCode CreateForTesting(
176 SyncStatusCode PopulateInitialData(
187 SyncStatusCode RegisterApp(const std::string& app_id,
192 SyncStatusCode DisableApp(const std::string& app_id);
196 SyncStatusCode EnableApp(const std::string& app_id);
202 SyncStatusCode UnregisterApp(const std::string& app_id);
256 SyncStatusCode UpdateByChangeList(
263 SyncStatusCode UpdateByFileResource(
[all …]
Dsync_task_manager_unittest.cc30 void DumbTask(SyncStatusCode status, in DumbTask()
38 SyncStatusCode* status_out, in IncrementAndAssign()
39 SyncStatusCode status) { in IncrementAndAssign()
48 SyncStatusCode* status_out, in IncrementAndAssignWithOwnedPointer()
49 SyncStatusCode status) { in IncrementAndAssignWithOwnedPointer()
77 SyncStatusCode last_operation_status, in NotifyLastOperationStatus()
84 void ScheduleTask(SyncStatusCode status_to_return, in ScheduleTask()
94 void ScheduleTaskIfIdle(SyncStatusCode status_to_return) { in ScheduleTaskIfIdle()
107 SyncStatusCode last_operation_status() const { in last_operation_status()
112 void DoTask(SyncStatusCode status_to_return, in DoTask()
[all …]
Dremote_to_local_syncer.h135 SyncStatusCode status);
141 SyncStatusCode status);
157 SyncStatusCode status);
171 void SyncCompleted(scoped_ptr<SyncTaskToken> token, SyncStatusCode status);
172 void FinalizeSync(scoped_ptr<SyncTaskToken> token, SyncStatusCode status);
176 SyncStatusCode status,
188 SyncStatusCode status);
Dsync_worker.h68 SyncStatusCode sync_status, bool used_network) OVERRIDE;
122 SyncStatusCode status);
132 SyncStatusCode status);
135 SyncStatusCode status);
139 void DidResolveConflict(SyncStatusCode status);
140 void DidFetchChanges(SyncStatusCode status);
142 void UpdateServiceStateFromSyncStatusCode(SyncStatusCode state,
Dremote_to_local_syncer_unittest.cc102 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in InitializeMetadataDatabase()
116 SyncStatusCode* status_out, in DidInitializeMetadataDatabase()
117 SyncStatusCode status) { in DidInitializeMetadataDatabase()
125 SyncStatusCode status = context_->GetMetadataDatabase()->RegisterApp( in RegisterApp()
179 SyncStatusCode RunSyncer() { in RunSyncer()
180 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in RunSyncer()
189 SyncStatusCode RunSyncerUntilIdle() { in RunSyncerUntilIdle()
191 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in RunSyncerUntilIdle()
202 SyncStatusCode RunSyncerAndPromoteUntilIdle() { in RunSyncerAndPromoteUntilIdle()
204 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in RunSyncerAndPromoteUntilIdle()
[all …]
Dconflict_resolver_unittest.cc101 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in InitializeMetadataDatabase()
114 SyncStatusCode* status_out, in DidInitializeMetadataDatabase()
115 SyncStatusCode status) { in DidInitializeMetadataDatabase()
122 SyncStatusCode status = context_->GetMetadataDatabase()->RegisterApp( in RegisterApp()
179 SyncStatusCode RunRemoteToLocalSyncer() { in RunRemoteToLocalSyncer()
180 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in RunRemoteToLocalSyncer()
189 SyncStatusCode RunLocalToRemoteSyncer(const storage::FileSystemURL& url, in RunLocalToRemoteSyncer()
191 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in RunLocalToRemoteSyncer()
209 SyncStatusCode status; in RunRemoteToLocalSyncerUntilIdle()
222 SyncStatusCode RunConflictResolver() { in RunConflictResolver()
[all …]
Dlocal_to_remote_syncer_unittest.cc102 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in InitializeMetadataDatabase()
116 SyncStatusCode* status_out, in DidInitializeMetadataDatabase()
117 SyncStatusCode status) { in DidInitializeMetadataDatabase()
124 SyncStatusCode status = context_->GetMetadataDatabase()->RegisterApp( in RegisterApp()
166 SyncStatusCode RunLocalToRemoteSyncer(FileChange file_change, in RunLocalToRemoteSyncer()
168 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in RunLocalToRemoteSyncer()
180 SyncStatusCode ListChanges() { in ListChanges()
181 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in ListChanges()
191 SyncStatusCode RunRemoteToLocalSyncer() { in RunRemoteToLocalSyncer()
192 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in RunRemoteToLocalSyncer()
[all …]
Dlist_changes_task_unittest.cc85 SyncStatusCode RunTask(scoped_ptr<SyncTask> sync_task) { in RunTask()
86 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in RunTask()
169 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in InitializeMetadataDatabase()
187 SyncStatusCode* status_out, in DidInitializeMetadataDatabase()
188 SyncStatusCode status) { in DidInitializeMetadataDatabase()
Dsync_task_manager.h63 SyncStatusCode last_operation_status,
79 void Initialize(SyncStatusCode status);
103 SyncStatusCode status);
142 SyncStatusCode status);
Dsync_engine_initializer.cc88 SyncStatusCode status = SYNC_STATUS_FAILED; in RunPreflight()
129 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidGetAboutResource()
168 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidFindSyncRoot()
247 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidCreateSyncRoot()
275 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidDetachSyncRoot()
304 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidListAppRootFolders()
342 SyncStatusCode status = metadata_database_->PopulateInitialData( in PopulateDatabase()
Dsync_worker.cc37 void EmptyStatusCallback(SyncStatusCode status) {} in EmptyStatusCallback()
287 SyncStatusCode status, in NotifyLastOperationStatus()
347 SyncStatusCode status = GetMetadataDatabase()->DisableApp(app_id); in DoDisableApp()
360 SyncStatusCode status = GetMetadataDatabase()->EnableApp(app_id); in DoEnableApp()
384 SyncStatusCode status) { in DidInitialize()
500 SyncStatusCode status) { in DidProcessRemoteChange()
534 SyncStatusCode status) { in DidApplyLocalChange()
618 void SyncWorker::DidResolveConflict(SyncStatusCode status) { in DidResolveConflict()
625 void SyncWorker::DidFetchChanges(SyncStatusCode status) { in DidFetchChanges()
634 SyncStatusCode status, in UpdateServiceStateFromSyncStatusCode()
Dlocal_to_remote_syncer.cc317 SyncStatusCode status) { in SyncCompleted()
389 SyncStatusCode status = metadata_database()->UpdateTracker( in UpdateTrackerForReusedFolder()
467 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidDeleteRemoteFile()
482 SyncStatusCode status = metadata_database()->UpdateByDeletedRemoteFile( in DidDeleteRemoteFile()
537 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidUploadExistingFile()
571 SyncStatusCode status = metadata_database()->UpdateTracker( in DidUploadExistingFile()
601 SyncStatusCode status = in DidGetRemoteMetadata()
607 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidGetRemoteMetadata()
649 SyncStatusCode status = GDataErrorCodeToSyncStatusCode(error); in DidUploadNewFile()
686 SyncStatusCode status) { in DidCreateRemoteFolder()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dsync_callbacks.h21 typedef base::Callback<void(SyncStatusCode status)>
25 void(SyncStatusCode status, const storage::FileSystemURL& url)>
28 typedef base::Callback<void(SyncStatusCode status,
33 void(SyncStatusCode status, const storage::FileSystemURLSet& urls)>
36 typedef base::Callback<void(SyncStatusCode status,
Dsync_status_code.h18 enum SyncStatusCode { enum
66 const char* SyncStatusCodeToString(SyncStatusCode status);
68 SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status);
70 SyncStatusCode FileErrorToSyncStatusCode(base::File::Error file_error);
72 base::File::Error SyncStatusCodeToFileError(SyncStatusCode status);
Dsync_status_code.cc12 const char* SyncStatusCodeToString(SyncStatusCode status) { in SyncStatusCodeToString()
98 SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status) { in LevelDBStatusToSyncStatusCode()
111 SyncStatusCode FileErrorToSyncStatusCode( in FileErrorToSyncStatusCode()
154 return static_cast<SyncStatusCode>(file_error); in FileErrorToSyncStatusCode()
158 SyncStatusCode status) { in SyncStatusCodeToFileError()
Dsync_file_system_test_util.cc51 template base::Callback<void(SyncStatusCode)>
52 AssignAndQuitCallback(base::RunLoop*, SyncStatusCode*);
56 INSTANTIATE_RECEIVER(SyncStatusCode);
Dsync_file_system_service.h105 SyncStatusCode status);
108 SyncStatusCode status);
112 SyncStatusCode status);
128 SyncStatusCode status,
Dsync_file_system_service.cc74 void DidHandleUninstalledEvent(const GURL& origin, SyncStatusCode code) { in DidHandleUninstalledEvent()
82 void DidHandleUnloadedEvent(const GURL& origin, SyncStatusCode code) { in DidHandleUnloadedEvent()
92 SyncStatusCode code) { in DidHandleLoadEvent()
111 SyncStatusCode sync_status_code, in DidGetFileSyncStatusForDump()
171 SyncStatusCode status, in DidProcessLocalChange()
228 SyncStatusCode status, in DidProcessRemoteChange()
485 SyncStatusCode status) { in DidInitializeFileSystem()
505 SyncStatusCode status) { in DidRegisterOrigin()
535 SyncStatusCode status) { in DidInitializeFileSystemForDump()
563 SyncStatusCode, in DidDumpFiles()
[all …]
Dsync_file_system_service_unittest.cc63 SyncStatusCode* status_out, R* value_out, in AssignValueAndQuit()
64 SyncStatusCode status, in AssignValueAndQuit()
176 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in InitializeApp()
208 SyncStatusCode status_to_return, in InitializeAppForObserverTest()
210 SyncStatusCode expected_status) { in InitializeAppForObserverTest()
230 SyncStatusCode actual_status = SYNC_STATUS_UNKNOWN; in InitializeAppForObserverTest()
453 SyncStatusCode status; in TEST_F()
/external/chromium_org/chrome/browser/sync_file_system/local/
Dlocal_file_change_tracker.cc45 SyncStatusCode MarkDirty(const std::string& url);
46 SyncStatusCode ClearDirty(const std::string& url);
47 SyncStatusCode GetDirtyEntries(
49 SyncStatusCode WriteBatch(scoped_ptr<leveldb::WriteBatch> batch);
57 SyncStatusCode Init(RecoveryOption recovery_option);
58 SyncStatusCode Repair(const std::string& db_path);
65 SyncStatusCode db_status_;
261 SyncStatusCode LocalFileChangeTracker::Initialize( in Initialize()
267 SyncStatusCode status = CollectLastDirtyChanges(file_system_context); in Initialize()
326 SyncStatusCode LocalFileChangeTracker::MarkDirtyOnDatabase( in MarkDirtyOnDatabase()
[all …]
Dlocal_file_sync_service.h69 typedef base::Callback<void(SyncStatusCode status,
195 SyncStatusCode status);
200 SyncStatusCode status);
203 void RunLocalSyncCallback(SyncStatusCode status,
209 SyncStatusCode status);
212 void DidGetFileForLocalSync(SyncStatusCode status,
219 SyncStatusCode status);
Dlocal_file_sync_context.h68 typedef base::Callback<void(SyncStatusCode status,
73 typedef base::Callback<void(SyncStatusCode status,
117 SyncStatusCode sync_finish_status,
241 SyncStatusCode InitializeChangeTrackerOnFileThread(
250 SyncStatusCode status);
253 SyncStatusCode status);
265 SyncStatusCode status,
278 SyncStatusCode status,
Dlocal_file_sync_service_unittest.cc53 SyncStatusCode expected_status, in DidPrepareForProcessRemoteChange()
55 SyncStatusCode status, in DidPrepareForProcessRemoteChange()
68 SyncStatusCode expected_status, in OnSyncCompleted()
70 SyncStatusCode status, in OnSyncCompleted()
80 SyncStatusCode* status_out, in OnGetFileMetadata()
82 SyncStatusCode status, in OnGetFileMetadata()
128 SyncStatusCode status = SYNC_STATUS_UNKNOWN; in SetUp()
158 SyncStatusCode expected_status, in PrepareForProcessRemoteChange()
171 SyncStatusCode ApplyRemoteChange(const FileChange& change, in ApplyRemoteChange()
174 SyncStatusCode sync_status = SYNC_STATUS_UNKNOWN; in ApplyRemoteChange()
[all …]
Dlocal_file_change_tracker.h109 SyncStatusCode Initialize(storage::FileSystemContext* file_system_context);
153 SyncStatusCode MarkDirtyOnDatabase(const storage::FileSystemURL& url);
154 SyncStatusCode ClearDirtyOnDatabase(const storage::FileSystemURL& url);
156 SyncStatusCode CollectLastDirtyChanges(
/external/chromium_org/chrome/browser/extensions/api/sync_file_system/
Dsync_file_system_api.h52 const sync_file_system::SyncStatusCode sync_service_status,
68 typedef std::pair<sync_file_system::SyncStatusCode,
75 sync_file_system::SyncStatusCode sync_status_code,

123