| 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_OFFLINE_PAGE_MODEL_IMPL_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_MODEL_IMPL_H_ |
| 6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_MODEL_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <utility> | 14 #include <utility> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/callback.h" | 17 #include "base/callback.h" |
| 18 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
| 19 #include "base/gtest_prod_util.h" | 19 #include "base/gtest_prod_util.h" |
| 20 #include "base/macros.h" | 20 #include "base/macros.h" |
| 21 #include "base/memory/ref_counted.h" | 21 #include "base/memory/ref_counted.h" |
| 22 #include "base/memory/scoped_vector.h" | 22 #include "base/memory/scoped_vector.h" |
| 23 #include "base/memory/weak_ptr.h" | 23 #include "base/memory/weak_ptr.h" |
| 24 #include "base/observer_list.h" | 24 #include "base/observer_list.h" |
| 25 #include "base/optional.h" | 25 #include "base/optional.h" |
| 26 #include "base/strings/string16.h" | 26 #include "base/strings/string16.h" |
| 27 #include "base/time/time.h" | 27 #include "base/time/time.h" |
| 28 #include "components/keyed_service/core/keyed_service.h" | 28 #include "components/keyed_service/core/keyed_service.h" |
| 29 #include "components/offline_pages/offline_page_archiver.h" | 29 #include "components/offline_pages/core/offline_page_archiver.h" |
| 30 #include "components/offline_pages/offline_page_metadata_store.h" | 30 #include "components/offline_pages/core/offline_page_metadata_store.h" |
| 31 #include "components/offline_pages/offline_page_model.h" | 31 #include "components/offline_pages/core/offline_page_model.h" |
| 32 #include "components/offline_pages/offline_page_model_event_logger.h" | 32 #include "components/offline_pages/core/offline_page_model_event_logger.h" |
| 33 #include "components/offline_pages/offline_page_storage_manager.h" | 33 #include "components/offline_pages/core/offline_page_storage_manager.h" |
| 34 #include "components/offline_pages/offline_page_types.h" | 34 #include "components/offline_pages/core/offline_page_types.h" |
| 35 #include "components/offline_pages/offline_store_types.h" | 35 #include "components/offline_pages/core/offline_store_types.h" |
| 36 | 36 |
| 37 class GURL; | 37 class GURL; |
| 38 namespace base { | 38 namespace base { |
| 39 class Clock; | 39 class Clock; |
| 40 class SequencedTaskRunner; | 40 class SequencedTaskRunner; |
| 41 class TimeTicks; | 41 class TimeTicks; |
| 42 } // namespace base | 42 } // namespace base |
| 43 | 43 |
| 44 namespace offline_pages { | 44 namespace offline_pages { |
| 45 | 45 |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // it once it is not longer needed. | 286 // it once it is not longer needed. |
| 287 base::Clock* testing_clock_; | 287 base::Clock* testing_clock_; |
| 288 | 288 |
| 289 base::WeakPtrFactory<OfflinePageModelImpl> weak_ptr_factory_; | 289 base::WeakPtrFactory<OfflinePageModelImpl> weak_ptr_factory_; |
| 290 | 290 |
| 291 DISALLOW_COPY_AND_ASSIGN(OfflinePageModelImpl); | 291 DISALLOW_COPY_AND_ASSIGN(OfflinePageModelImpl); |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 } // namespace offline_pages | 294 } // namespace offline_pages |
| 295 | 295 |
| 296 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_MODEL_IMPL_H_ | 296 #endif // COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_MODEL_IMPL_H_ |
| OLD | NEW |