Home
last modified time | relevance | path

Searched refs:sync_status (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/components/user_prefs/
Dpref_registry_syncable.cc79 PrefSyncStatus sync_status) { in RegisterBooleanPref() argument
82 sync_status); in RegisterBooleanPref()
87 PrefSyncStatus sync_status) { in RegisterIntegerPref() argument
90 sync_status); in RegisterIntegerPref()
95 PrefSyncStatus sync_status) { in RegisterDoublePref() argument
98 sync_status); in RegisterDoublePref()
103 PrefSyncStatus sync_status) { in RegisterStringPref() argument
106 sync_status); in RegisterStringPref()
112 PrefSyncStatus sync_status) { in RegisterFilePathPref() argument
115 sync_status); in RegisterFilePathPref()
[all …]
Dpref_registry_syncable.h48 base::Callback<void(const char* path, const PrefSyncStatus sync_status)>
69 PrefSyncStatus sync_status);
72 PrefSyncStatus sync_status);
75 PrefSyncStatus sync_status);
78 PrefSyncStatus sync_status);
81 PrefSyncStatus sync_status);
83 PrefSyncStatus sync_status);
85 PrefSyncStatus sync_status);
88 PrefSyncStatus sync_status);
91 PrefSyncStatus sync_status);
[all …]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_engine_unittest.cc146 SyncStatusCode sync_status) { in CheckServiceState() argument
147 EXPECT_EQ(expected_sync_status, sync_status); in CheckServiceState()
163 SyncStatusCode sync_status = SYNC_STATUS_UNKNOWN; in TEST_F() local
167 sync_engine()->RegisterOrigin(origin, CreateResultReceiver(&sync_status)); in TEST_F()
169 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
173 sync_engine()->DisableOrigin(origin, CreateResultReceiver(&sync_status)); in TEST_F()
175 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
179 sync_engine()->EnableOrigin(origin, CreateResultReceiver(&sync_status)); in TEST_F()
181 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
188 CreateResultReceiver(&sync_status)); in TEST_F()
[all …]
Dsync_engine.h105 virtual void NotifyLastOperationStatus(SyncStatusCode sync_status,
Dsync_engine.cc323 SyncStatusCode sync_status, in NotifyLastOperationStatus() argument
325 UpdateServiceStateFromSyncStatusCode(sync_status, used_network); in NotifyLastOperationStatus()
/external/chromium_org/chrome/browser/sync_file_system/local/
Dsyncable_file_operation_runner_unittest.cc89 LocalFileSyncStatus* sync_status() { in sync_status() function in sync_file_system::SyncableFileOperationRunnerTest
90 return file_system_.backend()->sync_context()->sync_status(); in sync_status()
153 sync_status()->StartSyncing(URL(kFile)); in TEST_F()
154 ASSERT_FALSE(sync_status()->IsWritable(URL(kFile))); in TEST_F()
174 sync_status()->EndSyncing(URL(kFile)); in TEST_F()
175 ASSERT_TRUE(sync_status()->IsWritable(URL(kFile))); in TEST_F()
195 sync_status()->StartSyncing(URL(kDir)); in TEST_F()
196 ASSERT_FALSE(sync_status()->IsWritable(URL(kDir))); in TEST_F()
223 sync_status()->EndSyncing(URL(kDir)); in TEST_F()
224 ASSERT_TRUE(sync_status()->IsWritable(URL(kDir))); in TEST_F()
[all …]
Dsyncable_file_operation_runner.cc47 LocalFileSyncStatus* sync_status) in SyncableFileOperationRunner() argument
48 : sync_status_(sync_status), in SyncableFileOperationRunner()
79 if ((*iter)->IsRunnable(sync_status())) { in RunNextRunnableTask()
84 task->Start(sync_status()); in RunNextRunnableTask()
96 DCHECK(sync_status()->IsWriting(target_paths[i])); in OnOperationCompleted()
97 sync_status()->EndWriting(target_paths[i]); in OnOperationCompleted()
Dlocal_file_sync_context.cc231 const bool syncable = sync_status()->IsSyncable(url); in PrepareForSync()
234 sync_status()->StartSyncing(url); in PrepareForSync()
259 if (sync_status()->IsSyncable(url)) { in RegisterURLForWaitingSync()
284 DCHECK(!sync_status()->IsWritable(url)); in ApplyRemoteChange()
285 DCHECK(!sync_status()->IsWriting(url)); in ApplyRemoteChange()
312 file_system_context, sync_status(), url, in HandleRemoteDelete()
367 DCHECK(!sync_status()->IsWritable(url)); in DidRemoveExistingEntryForRemoteAddOrUpdate()
368 DCHECK(!sync_status()->IsWriting(url)); in DidRemoveExistingEntryForRemoteAddOrUpdate()
515 LocalFileSyncStatus* LocalFileSyncContext::sync_status() const { in sync_status() function in sync_file_system::LocalFileSyncContext
527 sync_status()->IsWriting(url_waiting_sync_on_io_)) { in OnSyncEnabled()
[all …]
Dsyncable_file_operation_runner.h56 LocalFileSyncStatus* sync_status);
79 LocalFileSyncStatus* sync_status() const { return sync_status_; } in sync_status() function
Droot_delete_helper.cc39 LocalFileSyncStatus* sync_status, in RootDeleteHelper() argument
45 sync_status_(sync_status), in RootDeleteHelper()
Droot_delete_helper.h36 LocalFileSyncStatus* sync_status,
Dlocal_file_sync_service_unittest.cc169 SyncStatusCode sync_status = SYNC_STATUS_UNKNOWN; in ApplyRemoteChange() local
174 AssignAndQuitCallback(&run_loop, &sync_status)); in ApplyRemoteChange()
181 sync_status == SYNC_STATUS_OK, in ApplyRemoteChange()
185 return sync_status; in ApplyRemoteChange()
/external/chromium_org/chrome/browser/prefs/
Dpref_service_syncable.cc167 const user_prefs::PrefRegistrySyncable::PrefSyncStatus sync_status) { in AddRegisteredSyncablePreference() argument
169 if (sync_status == user_prefs::PrefRegistrySyncable::SYNCABLE_PREF) { in AddRegisteredSyncablePreference()
171 } else if (sync_status == in AddRegisteredSyncablePreference()
175 NOTREACHED() << "invalid sync_status: " << sync_status; in AddRegisteredSyncablePreference()
Dpref_service_syncable.h94 const user_prefs::PrefRegistrySyncable::PrefSyncStatus sync_status);
/external/chromium_org/chrome/browser/ui/webui/options/
Dbrowser_options_handler.cc1226 scoped_ptr<DictionaryValue> sync_status(new DictionaryValue); in GetSyncStateDictionary() local
1229 sync_status->SetBoolean("supervisedUser", true); in GetSyncStateDictionary()
1230 sync_status->SetBoolean("signinAllowed", false); in GetSyncStateDictionary()
1231 return sync_status.Pass(); in GetSyncStateDictionary()
1236 sync_status->SetBoolean("signinAllowed", false); in GetSyncStateDictionary()
1237 return sync_status.Pass(); in GetSyncStateDictionary()
1239 sync_status->SetBoolean("supervisedUser", false); in GetSyncStateDictionary()
1252 sync_status->SetBoolean("signoutAllowed", !signout_prohibited); in GetSyncStateDictionary()
1253 sync_status->SetBoolean("signinAllowed", signin->IsSigninAllowed()); in GetSyncStateDictionary()
1254 sync_status->SetBoolean("syncSystemEnabled", !!service); in GetSyncStateDictionary()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dmock_remote_file_sync_service.cc79 SyncFileStatus sync_status, in NotifyFileStatusChanged() argument
83 OnFileStatusChanged(url, sync_status, in NotifyFileStatusChanged()
Dfile_status_observer.h25 SyncFileStatus sync_status,
Dmock_remote_file_sync_service.h81 SyncFileStatus sync_status,
Dsync_file_system_service.h133 SyncFileStatus sync_status,
Dsync_file_system_service.cc519 SyncStatusCode sync_status, in DidInitializeFileSystemForDump()
699 SyncFileStatus sync_status, in OnFileStatusChanged() argument
704 OnFileSynced(url, sync_status, action_taken, direction)); in OnFileStatusChanged()
/external/chromium_org/ppapi/proxy/
Dhost_dispatcher.cc64 SyncMessageStatusReceiver* sync_status, in HostDispatcher() argument
67 sync_status_(sync_status), in HostDispatcher()
Dhost_dispatcher.h53 SyncMessageStatusReceiver* sync_status,
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
Ddrive_file_sync_service.h140 SyncStatusCode sync_status,
181 SyncStatusCode sync_status,
318 SyncFileStatus sync_status,
Ddrive_file_sync_service.cc439 SyncStatusCode sync_status, in UpdateServiceStateFromLastOperationStatus() argument
441 switch (sync_status) { in UpdateServiceStateFromLastOperationStatus()
1204 SyncStatusCode sync_status, in NotifyLastOperationStatus() argument
1206 UpdateServiceStateFromLastOperationStatus(sync_status, last_gdata_error_); in NotifyLastOperationStatus()
1374 SyncFileStatus sync_status, in NotifyObserversFileStatusChanged() argument
1377 if (sync_status != SYNC_FILE_STATUS_SYNCED) { in NotifyObserversFileStatusChanged()
1384 OnFileStatusChanged(url, sync_status, action_taken, direction)); in NotifyObserversFileStatusChanged()
/external/chromium_org/sync/
Dsync_internal_api.gypi69 'internal_api/public/engine/sync_status.cc',
70 'internal_api/public/engine/sync_status.h',

12