OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FILEAPI_WEBKIT_FILE_STREAM_READER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_WEBKIT_FILE_STREAM_READER_IMPL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_WEBKIT_FILE_STREAM_READER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_WEBKIT_FILE_STREAM_READER_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "chrome/browser/chromeos/drive/drive_file_stream_reader.h" | 14 #include "chrome/browser/chromeos/drive/drive_file_stream_reader.h" |
15 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
16 #include "storage/browser/blob/file_stream_reader.h" | 16 #include "storage/browser/fileapi/file_stream_reader.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class SequencedTaskRunner; | 19 class SequencedTaskRunner; |
20 } // namespace base | 20 } // namespace base |
21 | 21 |
22 namespace drive { | 22 namespace drive { |
23 | 23 |
24 class ResourceEntry; | 24 class ResourceEntry; |
25 | 25 |
26 namespace internal { | 26 namespace internal { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // This should remain the last member so it'll be destroyed first and | 79 // This should remain the last member so it'll be destroyed first and |
80 // invalidate its weak pointers before other members are destroyed. | 80 // invalidate its weak pointers before other members are destroyed. |
81 base::WeakPtrFactory<WebkitFileStreamReaderImpl> weak_ptr_factory_; | 81 base::WeakPtrFactory<WebkitFileStreamReaderImpl> weak_ptr_factory_; |
82 DISALLOW_COPY_AND_ASSIGN(WebkitFileStreamReaderImpl); | 82 DISALLOW_COPY_AND_ASSIGN(WebkitFileStreamReaderImpl); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace internal | 85 } // namespace internal |
86 } // namespace drive | 86 } // namespace drive |
87 | 87 |
88 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_WEBKIT_FILE_STREAM_READER_IMPL_
H_ | 88 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_WEBKIT_FILE_STREAM_READER_IMPL_
H_ |
OLD | NEW |