Home
last modified time | relevance | path

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

/external/chromium_org/components/pref_registry/
Dpref_registry_syncable.cc79 PrefSyncStatus sync_status) { in RegisterBooleanPref() argument
81 path, new base::FundamentalValue(default_value), sync_status); in RegisterBooleanPref()
86 PrefSyncStatus sync_status) { in RegisterIntegerPref() argument
88 path, new base::FundamentalValue(default_value), sync_status); in RegisterIntegerPref()
93 PrefSyncStatus sync_status) { in RegisterDoublePref() argument
95 path, new base::FundamentalValue(default_value), sync_status); in RegisterDoublePref()
100 PrefSyncStatus sync_status) { in RegisterStringPref() argument
102 path, new base::StringValue(default_value), sync_status); in RegisterStringPref()
108 PrefSyncStatus sync_status) { in RegisterFilePathPref() argument
110 path, new base::StringValue(default_value.value()), sync_status); in RegisterFilePathPref()
[all …]
Dpref_registry_syncable.h49 base::Callback<void(const char* path, const PrefSyncStatus sync_status)>
70 PrefSyncStatus sync_status);
73 PrefSyncStatus sync_status);
76 PrefSyncStatus sync_status);
79 PrefSyncStatus sync_status);
82 PrefSyncStatus sync_status);
84 PrefSyncStatus sync_status);
86 PrefSyncStatus sync_status);
89 PrefSyncStatus sync_status);
92 PrefSyncStatus sync_status);
[all …]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_engine_unittest.cc142 SyncStatusCode sync_status; in TEST_F() local
147 CreateResultReceiver(&sync_status)); in TEST_F()
149 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
155 CreateResultReceiver(&sync_status)); in TEST_F()
157 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
163 CreateResultReceiver(&sync_status)); in TEST_F()
165 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
172 CreateResultReceiver(&sync_status)); in TEST_F()
174 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
180 SyncStatusCode sync_status = SYNC_STATUS_UNKNOWN; in TEST_F() local
[all …]
Dsync_worker_unittest.cc152 SyncStatusCode sync_status) { in CheckServiceState() argument
153 EXPECT_EQ(expected_sync_status, sync_status); in CheckServiceState()
174 SyncStatusCode sync_status = SYNC_STATUS_UNKNOWN; in TEST_F() local
177 sync_worker()->RegisterOrigin(origin, CreateResultReceiver(&sync_status)); in TEST_F()
179 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
183 sync_worker()->DisableOrigin(origin, CreateResultReceiver(&sync_status)); in TEST_F()
185 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
189 sync_worker()->EnableOrigin(origin, CreateResultReceiver(&sync_status)); in TEST_F()
191 EXPECT_EQ(SYNC_STATUS_OK, sync_status); in TEST_F()
198 CreateResultReceiver(&sync_status)); in TEST_F()
[all …]
Dsync_worker.h68 SyncStatusCode sync_status, bool used_network) OVERRIDE;
/external/chromium_org/chrome/browser/sync_file_system/local/
Dsyncable_file_operation_runner_unittest.cc97 LocalFileSyncStatus* sync_status() { in sync_status() function in sync_file_system::SyncableFileOperationRunnerTest
98 return file_system_.backend()->sync_context()->sync_status(); in sync_status()
162 sync_status()->StartSyncing(URL(kFile)); in TEST_F()
163 ASSERT_FALSE(sync_status()->IsWritable(URL(kFile))); in TEST_F()
183 sync_status()->EndSyncing(URL(kFile)); in TEST_F()
184 ASSERT_TRUE(sync_status()->IsWritable(URL(kFile))); in TEST_F()
204 sync_status()->StartSyncing(URL(kDir)); in TEST_F()
205 ASSERT_FALSE(sync_status()->IsWritable(URL(kDir))); in TEST_F()
232 sync_status()->EndSyncing(URL(kDir)); in TEST_F()
233 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.cc235 const bool syncable = sync_status()->IsSyncable(url); in PrepareForSync()
238 sync_status()->StartSyncing(url); in PrepareForSync()
263 if (sync_status()->IsSyncable(url)) { in RegisterURLForWaitingSync()
288 DCHECK(!sync_status()->IsWritable(url)); in ApplyRemoteChange()
289 DCHECK(!sync_status()->IsWriting(url)); in ApplyRemoteChange()
316 file_system_context, sync_status(), url, in HandleRemoteDelete()
371 DCHECK(!sync_status()->IsWritable(url)); in DidRemoveExistingEntryForRemoteAddOrUpdate()
372 DCHECK(!sync_status()->IsWriting(url)); in DidRemoveExistingEntryForRemoteAddOrUpdate()
561 LocalFileSyncStatus* LocalFileSyncContext::sync_status() const { in sync_status() function in sync_file_system::LocalFileSyncContext
572 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.cc38 LocalFileSyncStatus* sync_status, in RootDeleteHelper() argument
44 sync_status_(sync_status), in RootDeleteHelper()
Droot_delete_helper.h36 LocalFileSyncStatus* sync_status,
Dlocal_file_sync_service_unittest.cc174 SyncStatusCode sync_status = SYNC_STATUS_UNKNOWN; in ApplyRemoteChange() local
179 AssignAndQuitCallback(&run_loop, &sync_status)); in ApplyRemoteChange()
186 sync_status == SYNC_STATUS_OK, in ApplyRemoteChange()
190 return sync_status; in ApplyRemoteChange()
Dlocal_file_sync_context.h198 LocalFileSyncStatus* sync_status() const;
Dcanned_syncable_file_system.cc763 backend()->sync_context()->sync_status()->AddObserver(this); in InitializeSyncStatusObserver()
/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.cc1376 scoped_ptr<base::DictionaryValue> sync_status(new base::DictionaryValue); in GetSyncStateDictionary() local
1381 sync_status->SetBoolean("signinAllowed", false); in GetSyncStateDictionary()
1382 return sync_status.Pass(); in GetSyncStateDictionary()
1385 sync_status->SetBoolean("supervisedUser", profile->IsSupervised()); in GetSyncStateDictionary()
1398 sync_status->SetBoolean("signoutAllowed", !signout_prohibited); in GetSyncStateDictionary()
1399 sync_status->SetBoolean("signinAllowed", signin->IsSigninAllowed()); in GetSyncStateDictionary()
1400 sync_status->SetBoolean("syncSystemEnabled", (service != NULL)); in GetSyncStateDictionary()
1401 sync_status->SetBoolean("setupCompleted", in GetSyncStateDictionary()
1403 sync_status->SetBoolean("setupInProgress", in GetSyncStateDictionary()
1411 sync_status->SetString("statusText", status_label); in GetSyncStateDictionary()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dmock_remote_file_sync_service.cc74 SyncFileStatus sync_status, in NotifyFileStatusChanged() argument
78 OnFileStatusChanged(url, sync_status, in NotifyFileStatusChanged()
Dfile_status_observer.h25 SyncFileStatus sync_status,
Dmock_remote_file_sync_service.h70 SyncFileStatus sync_status,
Dsync_file_system_service.h156 SyncFileStatus sync_status,
Dsync_file_system_service.cc717 SyncFileStatus sync_status, in OnFileStatusChanged() argument
722 OnFileSynced(url, sync_status, action_taken, direction)); in OnFileStatusChanged()
/external/chromium_org/sync/
Dsync.gyp243 'internal_api/public/engine/sync_status.cc',
244 'internal_api/public/engine/sync_status.h',
DBUILD.gn197 "internal_api/public/engine/sync_status.cc",
198 "internal_api/public/engine/sync_status.h",