Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: google_apis/drive/base_requests_unittest.cc

Issue 881403003: Rename gdata_errorcode.h to drive_api_error_codes.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typos in BUILD.gn Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: google_apis/drive/base_requests_unittest.cc
diff --git a/google_apis/drive/base_requests_unittest.cc b/google_apis/drive/base_requests_unittest.cc
index e2dab7d9c0c2a27b319332e88503be35b1bc2ff2..92ae948b5414a2f3fc454313628b0c3521c54ba3 100644
--- a/google_apis/drive/base_requests_unittest.cc
+++ b/google_apis/drive/base_requests_unittest.cc
@@ -43,7 +43,7 @@ class FakeUrlFetchRequest : public UrlFetchRequestBase {
void ProcessURLFetchResults(const net::URLFetcher* source) override {
callback_.Run(GetErrorCode());
}
- void RunCallbackOnPrematureFailure(GDataErrorCode code) override {
+ void RunCallbackOnPrematureFailure(DriveApiErrorCode code) override {
callback_.Run(code);
}
@@ -178,7 +178,7 @@ TEST_F(BaseRequestsTest, UrlFetchRequestBaseResponseCodeOverride) {
" }\n"
"}\n";
- GDataErrorCode error = GDATA_OTHER_ERROR;
+ DriveApiErrorCode error = DRIVE_OTHER_ERROR;
base::RunLoop run_loop;
sender_->StartRequestWithRetry(
new FakeUrlFetchRequest(
@@ -196,7 +196,7 @@ TEST_F(MultipartUploadRequestBaseTest, Basic) {
response_code_ = net::HTTP_OK;
response_body_ = "{\"kind\": \"drive#file\", \"id\": \"file_id\"}";
scoped_ptr<google_apis::FileResource> file;
- GDataErrorCode error = GDATA_OTHER_ERROR;
+ DriveApiErrorCode error = DRIVE_OTHER_ERROR;
base::RunLoop run_loop;
const base::FilePath source_path =
google_apis::test_util::GetTestFilePath("chromeos/file_manager/text.txt");

Powered by Google App Engine
This is Rietveld 408576698