| 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_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "webkit/fileapi/syncable/sync_operation_type.h" | 10 #include "webkit/fileapi/syncable/sync_operation_type.h" |
| 11 | 11 |
| 12 class GURL; |
| 13 |
| 12 namespace fileapi { | 14 namespace fileapi { |
| 13 class FileSystemURL; | 15 class FileSystemURL; |
| 14 } | 16 } |
| 15 | 17 |
| 16 namespace sync_file_system { | 18 namespace sync_file_system { |
| 17 | 19 |
| 18 class SyncEventObserver { | 20 class SyncEventObserver { |
| 19 public: | 21 public: |
| 20 typedef fileapi::SyncOperationType SyncOperationType; | 22 typedef fileapi::SyncOperationType SyncOperationType; |
| 21 | 23 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 virtual void OnFileSynced(const fileapi::FileSystemURL& url, | 54 virtual void OnFileSynced(const fileapi::FileSystemURL& url, |
| 53 fileapi::SyncOperationType operation) = 0; | 55 fileapi::SyncOperationType operation) = 0; |
| 54 | 56 |
| 55 private: | 57 private: |
| 56 DISALLOW_COPY_AND_ASSIGN(SyncEventObserver); | 58 DISALLOW_COPY_AND_ASSIGN(SyncEventObserver); |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 } // namespace sync_file_system | 61 } // namespace sync_file_system |
| 60 | 62 |
| 61 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ | 63 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_EVENT_OBSERVER_H_ |
| OLD | NEW |