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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 const FileSystemGetter file_system_getter_; | 202 const FileSystemGetter file_system_getter_; |
203 scoped_refptr<base::SequencedTaskRunner> file_task_runner_; | 203 scoped_refptr<base::SequencedTaskRunner> file_task_runner_; |
204 scoped_ptr<internal::ReaderProxy> reader_proxy_; | 204 scoped_ptr<internal::ReaderProxy> reader_proxy_; |
205 | 205 |
206 // This should remain the last member so it'll be destroyed first and | 206 // This should remain the last member so it'll be destroyed first and |
207 // invalidate its weak pointers before other members are destroyed. | 207 // invalidate its weak pointers before other members are destroyed. |
208 base::WeakPtrFactory<DriveFileStreamReader> weak_ptr_factory_; | 208 base::WeakPtrFactory<DriveFileStreamReader> weak_ptr_factory_; |
209 DISALLOW_COPY_AND_ASSIGN(DriveFileStreamReader); | 209 DISALLOW_COPY_AND_ASSIGN(DriveFileStreamReader); |
210 }; | 210 }; |
211 | 211 |
212 // TODO(hidehiko): Add thin wrapper class inheriting | |
213 // webkit_blob::FileStreamReader for the DriveFileStreamReader. | |
214 | |
215 } // namespace drive | 212 } // namespace drive |
216 | 213 |
217 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ | 214 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ |
OLD | NEW |