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" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "chrome/browser/chromeos/drive/file_errors.h" | 16 #include "components/drive/file_errors.h" |
17 #include "google_apis/drive/drive_api_error_codes.h" | 17 #include "google_apis/drive/drive_api_error_codes.h" |
18 #include "net/base/completion_callback.h" | 18 #include "net/base/completion_callback.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class SequencedTaskRunner; | 21 class SequencedTaskRunner; |
22 } // namespace base | 22 } // namespace base |
23 | 23 |
24 namespace net { | 24 namespace net { |
25 class HttpByteRange; | 25 class HttpByteRange; |
26 class IOBuffer; | 26 class IOBuffer; |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 223 |
224 // This should remain the last member so it'll be destroyed first and | 224 // This should remain the last member so it'll be destroyed first and |
225 // invalidate its weak pointers before other members are destroyed. | 225 // invalidate its weak pointers before other members are destroyed. |
226 base::WeakPtrFactory<DriveFileStreamReader> weak_ptr_factory_; | 226 base::WeakPtrFactory<DriveFileStreamReader> weak_ptr_factory_; |
227 DISALLOW_COPY_AND_ASSIGN(DriveFileStreamReader); | 227 DISALLOW_COPY_AND_ASSIGN(DriveFileStreamReader); |
228 }; | 228 }; |
229 | 229 |
230 } // namespace drive | 230 } // namespace drive |
231 | 231 |
232 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ | 232 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ |
OLD | NEW |