| 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_OPEN_FILE_OPERATION_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPEN_FILE_OPERATION_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPEN_FILE_OPERATION_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPEN_FILE_OPERATION_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.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 "chrome/browser/chromeos/drive/file_errors.h" | |
| 16 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 15 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
| 16 #include "components/drive/file_errors.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class FilePath; | 19 class FilePath; |
| 20 class ScopedClosureRunner; | 20 class ScopedClosureRunner; |
| 21 class SequencedTaskRunner; | 21 class SequencedTaskRunner; |
| 22 } // namespace base | 22 } // namespace base |
| 23 | 23 |
| 24 namespace drive { | 24 namespace drive { |
| 25 | 25 |
| 26 class JobScheduler; | 26 class JobScheduler; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // Note: This should remain the last member so it'll be destroyed and | 100 // Note: This should remain the last member so it'll be destroyed and |
| 101 // invalidate its weak pointers before any other members are destroyed. | 101 // invalidate its weak pointers before any other members are destroyed. |
| 102 base::WeakPtrFactory<OpenFileOperation> weak_ptr_factory_; | 102 base::WeakPtrFactory<OpenFileOperation> weak_ptr_factory_; |
| 103 DISALLOW_COPY_AND_ASSIGN(OpenFileOperation); | 103 DISALLOW_COPY_AND_ASSIGN(OpenFileOperation); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace file_system | 106 } // namespace file_system |
| 107 } // namespace drive | 107 } // namespace drive |
| 108 | 108 |
| 109 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPEN_FILE_OPERATION_H_ | 109 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OPEN_FILE_OPERATION_H_ |
| OLD | NEW |