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_LOCAL_FILE_READER_H_ | 5 #ifndef COMPONENTS_DRIVE_LOCAL_FILE_READER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_LOCAL_FILE_READER_H_ | 6 #define COMPONENTS_DRIVE_LOCAL_FILE_READER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
12 #include "net/base/file_stream.h" | 12 #include "net/base/file_stream.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class FilePath; | 15 class FilePath; |
16 class SequencedTaskRunner; | 16 class SequencedTaskRunner; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 // Note: This should remain the last member so it'll be destroyed and | 61 // Note: This should remain the last member so it'll be destroyed and |
62 // invalidate the weak pointers before any other members are destroyed. | 62 // invalidate the weak pointers before any other members are destroyed. |
63 base::WeakPtrFactory<LocalFileReader> weak_ptr_factory_; | 63 base::WeakPtrFactory<LocalFileReader> weak_ptr_factory_; |
64 DISALLOW_COPY_AND_ASSIGN(LocalFileReader); | 64 DISALLOW_COPY_AND_ASSIGN(LocalFileReader); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace util | 67 } // namespace util |
68 } // namespace drive | 68 } // namespace drive |
69 | 69 |
70 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_LOCAL_FILE_READER_H_ | 70 #endif // COMPONENTS_DRIVE_LOCAL_FILE_READER_H_ |
OLD | NEW |