| 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 WEBKIT_BROWSER_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "googleurl/src/gurl.h" | 11 #include "url/gurl.h" |
| 12 | 12 |
| 13 namespace sync_file_system { | 13 namespace sync_file_system { |
| 14 | 14 |
| 15 class LocalOriginChangeObserver { | 15 class LocalOriginChangeObserver { |
| 16 public: | 16 public: |
| 17 LocalOriginChangeObserver() {} | 17 LocalOriginChangeObserver() {} |
| 18 ~LocalOriginChangeObserver() {} | 18 ~LocalOriginChangeObserver() {} |
| 19 | 19 |
| 20 virtual void OnChangesAvailableInOrigins(const std::set<GURL>& origins) = 0; | 20 virtual void OnChangesAvailableInOrigins(const std::set<GURL>& origins) = 0; |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(LocalOriginChangeObserver); | 23 DISALLOW_COPY_AND_ASSIGN(LocalOriginChangeObserver); |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace sync_file_system | 26 } // namespace sync_file_system |
| 27 | 27 |
| 28 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_ | 28 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_ |
| OLD | NEW |