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

Side by Side Diff: webkit/renderer/fileapi/webfilewriter_base.cc

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "webkit/renderer/fileapi/webfilewriter_base.h" 5 #include "webkit/renderer/fileapi/webfilewriter_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" 8 #include "third_party/WebKit/public/platform/WebURL.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileError.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileError.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileWriterClient.h " 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileWriterClient.h "
11 #include "webkit/common/fileapi/file_system_util.h" 11 #include "webkit/common/fileapi/file_system_util.h"
12 12
13 namespace fileapi { 13 namespace fileapi {
14 14
15 WebFileWriterBase::WebFileWriterBase( 15 WebFileWriterBase::WebFileWriterBase(
16 const GURL& path, WebKit::WebFileWriterClient* client) 16 const GURL& path, WebKit::WebFileWriterClient* client)
17 : path_(path), 17 : path_(path),
18 client_(client), 18 client_(client),
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 void WebFileWriterBase::FinishCancel() { 146 void WebFileWriterBase::FinishCancel() {
147 DCHECK(kCancelReceivedWriteResponse == cancel_state_); 147 DCHECK(kCancelReceivedWriteResponse == cancel_state_);
148 DCHECK(kOperationNone != operation_); 148 DCHECK(kOperationNone != operation_);
149 cancel_state_ = kCancelNotInProgress; 149 cancel_state_ = kCancelNotInProgress;
150 operation_ = kOperationNone; 150 operation_ = kOperationNone;
151 client_->didFail(WebKit::WebFileErrorAbort); 151 client_->didFail(WebKit::WebFileErrorAbort);
152 } 152 }
153 153
154 } // namespace fileapi 154 } // namespace fileapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698