OLD | NEW |
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 "chrome/browser/chromeos/drive/webkit_file_stream_reader_impl.h" | 5 #include "chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h
" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "chrome/browser/chromeos/drive/drive.pb.h" | 11 #include "chrome/browser/chromeos/drive/drive.pb.h" |
12 #include "chrome/browser/chromeos/drive/drive_file_stream_reader.h" | 12 #include "chrome/browser/chromeos/drive/drive_file_stream_reader.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "net/base/io_buffer.h" | 14 #include "net/base/io_buffer.h" |
15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 callback.Run(initialization_result); | 150 callback.Run(initialization_result); |
151 return; | 151 return; |
152 } | 152 } |
153 | 153 |
154 DCHECK_GE(file_size_, 0); | 154 DCHECK_GE(file_size_, 0); |
155 callback.Run(file_size_); | 155 callback.Run(file_size_); |
156 } | 156 } |
157 | 157 |
158 } // namespace internal | 158 } // namespace internal |
159 } // namespace drive | 159 } // namespace drive |
OLD | NEW |