| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ |
| 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 11 | 13 |
| 12 class GURL; | 14 class GURL; |
| 13 | 15 |
| 14 namespace offline_pages { | 16 namespace offline_pages { |
| 15 | 17 |
| 16 struct OfflinePageItem; | 18 struct OfflinePageItem; |
| 17 | 19 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 virtual void RemoveOfflinePages(const std::vector<int64_t>& bookmark_ids, | 57 virtual void RemoveOfflinePages(const std::vector<int64_t>& bookmark_ids, |
| 56 const UpdateCallback& callback) = 0; | 58 const UpdateCallback& callback) = 0; |
| 57 | 59 |
| 58 // Resets the store. | 60 // Resets the store. |
| 59 virtual void Reset(const ResetCallback& callback) = 0; | 61 virtual void Reset(const ResetCallback& callback) = 0; |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 } // namespace offline_pages | 64 } // namespace offline_pages |
| 63 | 65 |
| 64 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ | 66 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_METADATA_STORE_H_ |
| OLD | NEW |