| Index: components/offline_pages/offline_page_test_store.h
|
| diff --git a/components/offline_pages/offline_page_test_store.h b/components/offline_pages/offline_page_test_store.h
|
| index 84a0eea45c3f9c9ae1e1d5be35338f1cdccb4eef..55553ee8dba14c5018b4398489ed7dcca5d0303f 100644
|
| --- a/components/offline_pages/offline_page_test_store.h
|
| +++ b/components/offline_pages/offline_page_test_store.h
|
| @@ -47,6 +47,9 @@ class OfflinePageTestStore : public OfflinePageMetadataStore {
|
| // Returns all pages, regardless their states.
|
| std::vector<OfflinePageItem> GetAllPages() const;
|
|
|
| + // Utility method to inject items in store.
|
| + void SetStoreState(const std::vector<OfflinePageItem>& offline_pages);
|
| +
|
| const OfflinePageItem& last_saved_page() const { return last_saved_page_; }
|
|
|
| void set_test_scenario(TestScenario scenario) { scenario_ = scenario; };
|
|
|