summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-07 09:30:57 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-07 09:30:57 +0000
commitd43177fa5c889a451b6a033c970a7e25bcb6ad37 (patch)
tree6a773f4a272a68e3831a85a81da32920d59d5bbc
parente1dabf0115db663fbfeff8df623d5f483f10832f (diff)
downloadchromium_src-d43177fa5c889a451b6a033c970a7e25bcb6ad37.zip
chromium_src-d43177fa5c889a451b6a033c970a7e25bcb6ad37.tar.gz
chromium_src-d43177fa5c889a451b6a033c970a7e25bcb6ad37.tar.bz2
Revert 181263
> Sync FileSystem: Branch HTTP_SUCCESS as success case > > BUG=174823 > NOTRY=true > > Review URL: https://codereview.chromium.org/12226053 TBR=tzik@chromium.org Review URL: https://codereview.chromium.org/12225079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181265 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/sync_file_system/drive_file_sync_client.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/sync_file_system/drive_file_sync_client.cc b/chrome/browser/sync_file_system/drive_file_sync_client.cc
index c2359cf..de0fae5 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_client.cc
+++ b/chrome/browser/sync_file_system/drive_file_sync_client.cc
@@ -619,8 +619,7 @@ void DriveFileSyncClient::DidUploadNewFile(
const UploadFileCallback& callback,
google_apis::GDataErrorCode error,
scoped_ptr<google_apis::ResourceEntry> entry) {
- if (error != google_apis::HTTE_SUCCESS &&
- error != google_apis::HTTP_CREATED) {
+ if (error != google_apis::HTTP_CREATED) {
DVLOG(2) << "Error on uploading new file: " << error;
callback.Run(error, std::string(), std::string());
return;