OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COPY_OPERATION_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ |
7 | 7 |
| 8 #include <string> |
| 9 #include <vector> |
| 10 |
8 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/chromeos/drive/file_errors.h" | 15 #include "chrome/browser/chromeos/drive/file_errors.h" |
13 #include "google_apis/drive/gdata_errorcode.h" | 16 #include "google_apis/drive/gdata_errorcode.h" |
14 | 17 |
15 namespace base { | 18 namespace base { |
16 class FilePath; | 19 class FilePath; |
17 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
18 class Time; | 21 class Time; |
19 } // namespace base | 22 } // namespace base |
20 | 23 |
21 namespace google_apis { | 24 namespace google_apis { |
22 class AboutResource; | |
23 class FileResource; | 25 class FileResource; |
24 } // namespace google_apis | 26 } // namespace google_apis |
25 | 27 |
26 namespace drive { | 28 namespace drive { |
27 | 29 |
28 class JobScheduler; | 30 class JobScheduler; |
29 class ResourceEntry; | 31 class ResourceEntry; |
30 | 32 |
31 namespace internal { | 33 namespace internal { |
32 class FileCache; | 34 class FileCache; |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 // Note: This should remain the last member so it'll be destroyed and | 169 // Note: This should remain the last member so it'll be destroyed and |
168 // invalidate the weak pointers before any other members are destroyed. | 170 // invalidate the weak pointers before any other members are destroyed. |
169 base::WeakPtrFactory<CopyOperation> weak_ptr_factory_; | 171 base::WeakPtrFactory<CopyOperation> weak_ptr_factory_; |
170 DISALLOW_COPY_AND_ASSIGN(CopyOperation); | 172 DISALLOW_COPY_AND_ASSIGN(CopyOperation); |
171 }; | 173 }; |
172 | 174 |
173 } // namespace file_system | 175 } // namespace file_system |
174 } // namespace drive | 176 } // namespace drive |
175 | 177 |
176 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ | 178 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ |
OLD | NEW |