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_MOVE_OPERATION_H_ | 5 #ifndef COMPONENTS_DRIVE_FILE_SYSTEM_MOVE_OPERATION_H_ |
6 #define COMPONENTS_DRIVE_FILE_SYSTEM_MOVE_OPERATION_H_ | 6 #define COMPONENTS_DRIVE_FILE_SYSTEM_MOVE_OPERATION_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
15 #include "components/drive/file_errors.h" | 15 #include "components/drive/file_errors.h" |
16 #include "google_apis/drive/drive_api_error_codes.h" | 16 #include "google_apis/drive/drive_api_error_codes.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class FilePath; | 19 class FilePath; |
20 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Note: This should remain the last member so it'll be destroyed and | 70 // Note: This should remain the last member so it'll be destroyed and |
71 // invalidate the weak pointers before any other members are destroyed. | 71 // invalidate the weak pointers before any other members are destroyed. |
72 base::WeakPtrFactory<MoveOperation> weak_ptr_factory_; | 72 base::WeakPtrFactory<MoveOperation> weak_ptr_factory_; |
73 DISALLOW_COPY_AND_ASSIGN(MoveOperation); | 73 DISALLOW_COPY_AND_ASSIGN(MoveOperation); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace file_system | 76 } // namespace file_system |
77 } // namespace drive | 77 } // namespace drive |
78 | 78 |
79 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_MOVE_OPERATION_H_ | 79 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_MOVE_OPERATION_H_ |
OLD | NEW |