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 COMPONENTS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ | 5 #ifndef COMPONENTS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ |
6 #define COMPONENTS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ | 6 #define COMPONENTS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 #include "components/drive/file_errors.h" | 11 #include "components/drive/file_errors.h" |
12 #include "components/drive/file_system_interface.h" | 12 #include "components/drive/file_system_interface.h" |
13 #include "components/drive/job_list.h" | 13 #include "components/drive/job_list.h" |
14 #include "google_apis/drive/drive_api_error_codes.h" | 14 #include "google_apis/drive/drive_api_error_codes.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class FilePath; | 17 class FilePath; |
18 class SequencedTaskRunner; | 18 class SequencedTaskRunner; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 // Note: This should remain the last member so it'll be destroyed and | 124 // Note: This should remain the last member so it'll be destroyed and |
125 // invalidate its weak pointers before any other members are destroyed. | 125 // invalidate its weak pointers before any other members are destroyed. |
126 base::WeakPtrFactory<DownloadOperation> weak_ptr_factory_; | 126 base::WeakPtrFactory<DownloadOperation> weak_ptr_factory_; |
127 DISALLOW_COPY_AND_ASSIGN(DownloadOperation); | 127 DISALLOW_COPY_AND_ASSIGN(DownloadOperation); |
128 }; | 128 }; |
129 | 129 |
130 } // namespace file_system | 130 } // namespace file_system |
131 } // namespace drive | 131 } // namespace drive |
132 | 132 |
133 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ | 133 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ |
OLD | NEW |