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

Side by Side Diff: content/child/fileapi/webfilewriter_base.cc

Issue 553983013: Remove storage-related redirect headers in webkit/common/, update #includes and DEPS files to use s… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/quota_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/fileapi/webfilewriter_base.h" 5 #include "content/child/fileapi/webfilewriter_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "storage/common/fileapi/file_system_util.h"
8 #include "third_party/WebKit/public/platform/WebFileError.h" 9 #include "third_party/WebKit/public/platform/WebFileError.h"
9 #include "third_party/WebKit/public/platform/WebFileWriterClient.h" 10 #include "third_party/WebKit/public/platform/WebFileWriterClient.h"
10 #include "third_party/WebKit/public/platform/WebURL.h" 11 #include "third_party/WebKit/public/platform/WebURL.h"
11 #include "webkit/common/fileapi/file_system_util.h"
12 12
13 using storage::FileErrorToWebFileError; 13 using storage::FileErrorToWebFileError;
14 14
15 namespace content { 15 namespace content {
16 16
17 WebFileWriterBase::WebFileWriterBase(const GURL& path, 17 WebFileWriterBase::WebFileWriterBase(const GURL& path,
18 blink::WebFileWriterClient* client) 18 blink::WebFileWriterClient* client)
19 : path_(path), 19 : path_(path),
20 client_(client), 20 client_(client),
21 operation_(kOperationNone), 21 operation_(kOperationNone),
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 void WebFileWriterBase::FinishCancel() { 145 void WebFileWriterBase::FinishCancel() {
146 DCHECK(kCancelReceivedWriteResponse == cancel_state_); 146 DCHECK(kCancelReceivedWriteResponse == cancel_state_);
147 DCHECK(kOperationNone != operation_); 147 DCHECK(kOperationNone != operation_);
148 cancel_state_ = kCancelNotInProgress; 148 cancel_state_ = kCancelNotInProgress;
149 operation_ = kOperationNone; 149 operation_ = kOperationNone;
150 client_->didFail(blink::WebFileErrorAbort); 150 client_->didFail(blink::WebFileErrorAbort);
151 } 151 }
152 152
153 } // namespace content 153 } // namespace content
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilesystem_impl.cc ('k') | content/child/quota_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698