Home
last modified time | relevance | path

Searched refs:HTTP_SUCCESS (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/drive/
Djob_scheduler_unittest.cc201 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
215 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
229 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
244 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
259 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
291 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
307 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
321 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
337 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
351 ASSERT_EQ(google_apis::HTTP_SUCCESS, error); in TEST_F()
[all …]
Dchange_list_loader_unittest.cc161 EXPECT_EQ(google_apis::HTTP_SUCCESS, error[0]); in TEST_F()
162 EXPECT_EQ(google_apis::HTTP_SUCCESS, error[1]); in TEST_F()
181 EXPECT_EQ(google_apis::HTTP_SUCCESS, error[2]); in TEST_F()
182 EXPECT_EQ(google_apis::HTTP_SUCCESS, error[3]); in TEST_F()
200 EXPECT_EQ(google_apis::HTTP_SUCCESS, error[5]); in TEST_F()
Dfile_system_unittest.cc345 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
378 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
406 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
434 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
463 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
497 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
525 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
Dfile_errors.cc141 case google_apis::HTTP_SUCCESS: in GDataToFileError()
/external/chromium_org/chrome/browser/drive/
Dfake_drive_service_unittest.cc39 using google_apis::HTTP_SUCCESS;
125 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
156 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
173 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
206 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
223 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
240 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
250 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
288 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
302 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
[all …]
Ddrive_uploader_unittest.cc32 using google_apis::HTTP_SUCCESS;
93 base::Bind(callback, HTTP_SUCCESS, GURL(kTestUploadNewFileURL))); in InitiateUploadNewFile()
116 base::Bind(callback, HTTP_SUCCESS, GURL(kTestUploadExistingFileURL))); in InitiateUploadExistingFile()
187 HTTP_CREATED : HTTP_SUCCESS; in SendUploadRangeResponse()
259 base::Bind(callback, HTTP_SUCCESS, GURL(kTestUploadNewFileURL))); in InitiateUploadNewFile()
270 base::Bind(callback, HTTP_SUCCESS, GURL(kTestUploadExistingFileURL))); in InitiateUploadExistingFile()
347 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
383 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
398 GDataErrorCode error = HTTP_SUCCESS; in TEST_F()
443 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
[all …]
Dfake_drive_service.cc58 using google_apis::HTTP_SUCCESS;
518 base::Bind(callback, HTTP_SUCCESS, base::Passed(make_scoped_ptr( in GetFileResource()
550 base::Bind(callback, HTTP_SUCCESS, entry->share_url)); in GetShareUrl()
579 HTTP_SUCCESS, base::Passed(&about_resource))); in GetAboutResource()
602 base::Bind(callback, HTTP_SUCCESS, base::Passed(&app_list))); in GetAppList()
694 FROM_HERE, base::Bind(callback, HTTP_SUCCESS)); in TrashResource()
741 base::Bind(get_content_callback, HTTP_SUCCESS, in DownloadFile()
769 HTTP_SUCCESS, in DownloadFile()
837 HTTP_SUCCESS, in CopyResource()
908 base::Bind(callback, HTTP_SUCCESS, in UpdateResource()
[all …]
Ddrive_uploader.cc31 using google_apis::HTTP_SUCCESS;
294 if (code != HTTP_SUCCESS) { in OnUploadLocationReceived()
362 if (response.code == HTTP_CREATED || response.code == HTTP_SUCCESS) { in OnUploadRangeResponseReceived()
377 HTTP_SUCCESS, GURL(), entry.Pass()); in OnUploadRangeResponseReceived()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dfake_drive_service_helper.cc119 if (error == google_apis::HTTP_SUCCESS && file_id) in AddFile()
167 if (error != google_apis::HTTP_SUCCESS) in UpdateModificationTime()
220 if (error != google_apis::HTTP_SUCCESS) in GetSyncRootFolderID()
229 return google_apis::HTTP_SUCCESS; in GetSyncRootFolderID()
244 if (error != google_apis::HTTP_SUCCESS) in ListFilesInFolder()
260 if (error != google_apis::HTTP_SUCCESS) in SearchByTitle()
282 if (error != google_apis::HTTP_SUCCESS) in ReadFile()
296 if (error != google_apis::HTTP_SUCCESS) in ReadFile()
300 ? google_apis::HTTP_SUCCESS : google_apis::GDATA_FILE_ERROR; in ReadFile()
325 return google_apis::HTTP_SUCCESS; in CompleteListing()
[all …]
Ddrive_backend_sync_unittest.cc325 EXPECT_EQ(google_apis::HTTP_SUCCESS, in GetLargestChangeID()
414 EXPECT_EQ(google_apis::HTTP_SUCCESS, error); in VerifyConsistency()
417 EXPECT_EQ(google_apis::HTTP_SUCCESS, in VerifyConsistency()
451 EXPECT_EQ(google_apis::HTTP_SUCCESS, in VerifyConsistencyForFolder()
503 EXPECT_EQ(google_apis::HTTP_SUCCESS, in VerifyConsistencyForFile()
670 EXPECT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
715 EXPECT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
722 EXPECT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
794 EXPECT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
820 EXPECT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
[all …]
Dlist_changes_task_unittest.cc105 ASSERT_EQ(google_apis::HTTP_SUCCESS, in SetUpChangesInFolder()
109 ASSERT_EQ(google_apis::HTTP_SUCCESS, in SetUpChangesInFolder()
120 ASSERT_EQ(google_apis::HTTP_SUCCESS, in SetUpChangesInFolder()
124 ASSERT_EQ(google_apis::HTTP_SUCCESS, in SetUpChangesInFolder()
130 ASSERT_EQ(google_apis::HTTP_SUCCESS, in SetUpChangesInFolder()
Dconflict_resolver_unittest.cc149 EXPECT_EQ(google_apis::HTTP_SUCCESS, in CreateRemoteFile()
174 EXPECT_EQ(google_apis::HTTP_SUCCESS, in CountParents()
246 EXPECT_EQ(google_apis::HTTP_SUCCESS, in GetResourceEntriesForParentAndTitle()
258 EXPECT_EQ(google_apis::HTTP_SUCCESS, in VerifyConflictResolution()
482 ASSERT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
484 ASSERT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
486 ASSERT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
509 ASSERT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
511 ASSERT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
513 ASSERT_EQ(google_apis::HTTP_SUCCESS, in TEST_F()
Dlocal_to_remote_syncer_unittest.cc155 EXPECT_EQ(google_apis::HTTP_SUCCESS, in CreateRemoteFile()
219 EXPECT_EQ(google_apis::HTTP_SUCCESS, in GetResourceEntriesForParentAndTitle()
239 EXPECT_EQ(google_apis::HTTP_SUCCESS, in VerifyTitleUniqueness()
249 EXPECT_EQ(google_apis::HTTP_SUCCESS, in VerifyFileDeletion()
Dregister_app_task_unittest.cc206 EXPECT_EQ(google_apis::HTTP_SUCCESS, in CountRemoteFileInSyncRoot()
224 if (google_apis::HTTP_SUCCESS != in HasRemoteAppRoot()
Dfake_drive_uploader.cc43 google_apis::HTTP_SUCCESS, in DidAddFileForUploadNew()
/external/chromium_org/google_apis/drive/
Ddrive_api_requests_unittest.cc56 EXPECT_EQ(HTTP_SUCCESS, error); in AppendContent()
411 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
459 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
519 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
555 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
617 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
645 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
673 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
707 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
744 EXPECT_EQ(HTTP_SUCCESS, error); in TEST_F()
[all …]
Dauth_service.cc88 callback_.Run(HTTP_SUCCESS, access_token); in OnGetTokenSuccess()
147 FROM_HERE, base::Bind(callback, HTTP_SUCCESS, access_token_)); in StartAuthentication()
189 if (error == HTTP_SUCCESS) { in OnAuthCompleted()
Dbase_requests.cc144 HTTP_SUCCESS, in Write()
463 if (code == HTTP_SUCCESS) { in ProcessURLFetchResults()
491 : code(HTTP_SUCCESS), in UploadRangeResponse()
565 } else if (code == HTTP_CREATED || code == HTTP_SUCCESS) { in ProcessURLFetchResults()
584 DCHECK(code == HTTP_CREATED || code == HTTP_SUCCESS); in OnDataParsed()
734 if (code == HTTP_SUCCESS) { in ProcessURLFetchResults()
Dgdata_errorcode.h14 HTTP_SUCCESS = 200, enumerator
Dgdata_errorcode.cc14 case HTTP_SUCCESS: in GDataErrorCodeToString()
Dgdata_wapi_requests.cc52 case HTTP_SUCCESS: in ProcessURLFetchResults()
Drequest_sender.cc73 if (code == HTTP_SUCCESS) { in OnAccessTokenFetched()
Dbase_requests_server_unittest.cc95 EXPECT_EQ(HTTP_SUCCESS, result_code); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/sync/
Dremove_performer_unittest.cc59 ASSERT_EQ(google_apis::HTTP_SUCCESS, gdata_error); in TEST_F()
116 ASSERT_EQ(google_apis::HTTP_SUCCESS, gdata_error); in TEST_F()
176 EXPECT_EQ(google_apis::HTTP_SUCCESS, fake_service()->SetUserPermission( in TEST_F()
Dentry_update_performer_unittest.cc115 EXPECT_EQ(google_apis::HTTP_SUCCESS, gdata_error); in TEST_F()
181 EXPECT_EQ(google_apis::HTTP_SUCCESS, gdata_error); in TEST_F()
230 EXPECT_EQ(google_apis::HTTP_SUCCESS, gdata_error); in TEST_F()
274 EXPECT_EQ(google_apis::HTTP_SUCCESS, gdata_error); in TEST_F()
423 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
549 EXPECT_EQ(google_apis::HTTP_SUCCESS, status); in TEST_F()
578 EXPECT_EQ(google_apis::HTTP_SUCCESS, fake_service()->SetUserPermission( in TEST_F()

12