| 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 COMPONENTS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ | 5 #ifndef COMPONENTS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ |
| 6 #define COMPONENTS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ | 6 #define COMPONENTS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
| 16 #include "components/drive/file_errors.h" | 16 #include "components/drive/file_errors.h" |
| 17 #include "google_apis/drive/drive_api_error_codes.h" | 17 #include "google_apis/drive/drive_api_error_codes.h" |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class FilePath; | 20 class FilePath; |
| 21 class SequencedTaskRunner; | 21 class SequencedTaskRunner; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 // Note: This should remain the last member so it'll be destroyed and | 172 // Note: This should remain the last member so it'll be destroyed and |
| 173 // invalidate the weak pointers before any other members are destroyed. | 173 // invalidate the weak pointers before any other members are destroyed. |
| 174 base::WeakPtrFactory<CopyOperation> weak_ptr_factory_; | 174 base::WeakPtrFactory<CopyOperation> weak_ptr_factory_; |
| 175 DISALLOW_COPY_AND_ASSIGN(CopyOperation); | 175 DISALLOW_COPY_AND_ASSIGN(CopyOperation); |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 } // namespace file_system | 178 } // namespace file_system |
| 179 } // namespace drive | 179 } // namespace drive |
| 180 | 180 |
| 181 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ | 181 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_COPY_OPERATION_H_ |
| OLD | NEW |