Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 | |
| OLD | NEW |