| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_CORE_STUB_OFFLINE_PAGE_MODEL_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_STUB_OFFLINE_PAGE_MODEL_H_ |
| 6 #define COMPONENTS_OFFLINE_PAGES_CORE_STUB_OFFLINE_PAGE_MODEL_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CORE_STUB_OFFLINE_PAGE_MODEL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 const ClientId& client_id, | 50 const ClientId& client_id, |
| 51 const MultipleOfflineIdCallback& callback) override; | 51 const MultipleOfflineIdCallback& callback) override; |
| 52 void GetPageByOfflineId( | 52 void GetPageByOfflineId( |
| 53 int64_t offline_id, | 53 int64_t offline_id, |
| 54 const SingleOfflinePageItemCallback& callback) override; | 54 const SingleOfflinePageItemCallback& callback) override; |
| 55 void GetPagesByURL( | 55 void GetPagesByURL( |
| 56 const GURL& url, | 56 const GURL& url, |
| 57 URLSearchMode url_search_mode, | 57 URLSearchMode url_search_mode, |
| 58 const MultipleOfflinePageItemCallback& callback) override; | 58 const MultipleOfflinePageItemCallback& callback) override; |
| 59 ClientPolicyController* GetPolicyController() override; | 59 ClientPolicyController* GetPolicyController() override; |
| 60 bool is_loaded() const override; | |
| 61 OfflineEventLogger* GetLogger() override; | 60 OfflineEventLogger* GetLogger() override; |
| 62 | 61 |
| 63 private: | 62 private: |
| 64 ClientPolicyController policy_controller_; | 63 ClientPolicyController policy_controller_; |
| 65 std::vector<int64_t> offline_ids_; | 64 std::vector<int64_t> offline_ids_; |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 } // namespace offline_pages | 67 } // namespace offline_pages |
| 69 | 68 |
| 70 #endif // COMPONENTS_OFFLINE_PAGES_CORE_STUB_OFFLINE_PAGE_MODEL_H_ | 69 #endif // COMPONENTS_OFFLINE_PAGES_CORE_STUB_OFFLINE_PAGE_MODEL_H_ |
| OLD | NEW |