| 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_OBSERVER_H_ | 5 #ifndef COMPONENTS_DRIVE_FILE_SYSTEM_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OBSERVER_H_ | 6 #define COMPONENTS_DRIVE_FILE_SYSTEM_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "components/drive/file_errors.h" | 8 #include "components/drive/file_errors.h" |
| 9 #include "components/drive/file_system/operation_delegate.h" | 9 #include "components/drive/file_system/operation_delegate.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class FilePath; | 12 class FilePath; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace drive { | 15 namespace drive { |
| 16 | 16 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 // |type| is a type of the error. |file_name| is a virtual path of the entry. | 31 // |type| is a type of the error. |file_name| is a virtual path of the entry. |
| 32 virtual void OnDriveSyncError(file_system::DriveSyncErrorType type, | 32 virtual void OnDriveSyncError(file_system::DriveSyncErrorType type, |
| 33 const base::FilePath& file_path) {} | 33 const base::FilePath& file_path) {} |
| 34 | 34 |
| 35 protected: | 35 protected: |
| 36 virtual ~FileSystemObserver() {} | 36 virtual ~FileSystemObserver() {} |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace drive | 39 } // namespace drive |
| 40 | 40 |
| 41 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OBSERVER_H_ | 41 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_OBSERVER_H_ |
| OLD | NEW |