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

Side by Side Diff: webkit/fileapi/file_writer_delegate.cc

Issue 6604020: Introduce FileSystemFileUtil and -Proxy to decorate base::file_util in webkit/fileapi. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/fileapi/file_writer_delegate.h" 5 #include "webkit/fileapi/file_writer_delegate.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "webkit/fileapi/file_system_operation.h" 9 #include "webkit/fileapi/file_system_operation.h"
10 10
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 bytes_read += bytes_read_backlog_; 156 bytes_read += bytes_read_backlog_;
157 last_progress_event_time_ = currentTime; 157 last_progress_event_time_ = currentTime;
158 bytes_read_backlog_ = 0; 158 bytes_read_backlog_ = 0;
159 file_system_operation_->DidWrite( 159 file_system_operation_->DidWrite(
160 base::PLATFORM_FILE_OK, bytes_read, done); 160 base::PLATFORM_FILE_OK, bytes_read, done);
161 return; 161 return;
162 } 162 }
163 bytes_read_backlog_ += bytes_read; 163 bytes_read_backlog_ += bytes_read;
164 } 164 }
165 165
166 } // namespace fileapi 166 } // namespace fileapi
ericu 2011/03/03 01:05:11 You can remove this file from the CL.
Dai Mikurube (google.com) 2011/03/03 20:24:52 Done.
167
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698