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_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/chromeos/drive/file_errors.h" | 10 #include "chrome/browser/chromeos/drive/file_errors.h" |
11 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 11 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
12 #include "chrome/browser/chromeos/drive/job_list.h" | 12 #include "chrome/browser/chromeos/drive/job_list.h" |
13 #include "google_apis/drive/gdata_errorcode.h" | 13 #include "google_apis/drive/gdata_errorcode.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class FilePath; | 16 class FilePath; |
17 class SequencedTaskRunner; | 17 class SequencedTaskRunner; |
18 } // namespace base | 18 } // namespace base |
19 | 19 |
20 namespace google_apis { | 20 namespace google_apis { |
21 class ResourceEntry; | 21 class ResourceEntry; |
22 } // namespace google_apis | 22 } // namespace google_apis |
23 | 23 |
24 namespace drive { | 24 namespace drive { |
25 | 25 |
26 class JobScheduler; | 26 class JobScheduler; |
27 class ResourceEntry; | 27 class ResourceEntry; |
| 28 struct ClientContext; |
28 | 29 |
29 namespace internal { | 30 namespace internal { |
30 class FileCache; | 31 class FileCache; |
31 class ResourceMetadata; | 32 class ResourceMetadata; |
32 } // namespace internal | 33 } // namespace internal |
33 | 34 |
34 namespace file_system { | 35 namespace file_system { |
35 | 36 |
36 class OperationObserver; | 37 class OperationObserver; |
37 | 38 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // Note: This should remain the last member so it'll be destroyed and | 128 // Note: This should remain the last member so it'll be destroyed and |
128 // invalidate its weak pointers before any other members are destroyed. | 129 // invalidate its weak pointers before any other members are destroyed. |
129 base::WeakPtrFactory<DownloadOperation> weak_ptr_factory_; | 130 base::WeakPtrFactory<DownloadOperation> weak_ptr_factory_; |
130 DISALLOW_COPY_AND_ASSIGN(DownloadOperation); | 131 DISALLOW_COPY_AND_ASSIGN(DownloadOperation); |
131 }; | 132 }; |
132 | 133 |
133 } // namespace file_system | 134 } // namespace file_system |
134 } // namespace drive | 135 } // namespace drive |
135 | 136 |
136 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ | 137 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ |
OLD | NEW |