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 #include "components/offline_pages/stub_offline_page_model.h" | 5 #include "components/offline_pages/core/stub_offline_page_model.h" |
6 | 6 |
7 namespace offline_pages { | 7 namespace offline_pages { |
8 | 8 |
9 StubOfflinePageModel::StubOfflinePageModel() {} | 9 StubOfflinePageModel::StubOfflinePageModel() {} |
10 StubOfflinePageModel::~StubOfflinePageModel() {} | 10 StubOfflinePageModel::~StubOfflinePageModel() {} |
11 | 11 |
12 void StubOfflinePageModel::AddObserver(Observer* observer) {} | 12 void StubOfflinePageModel::AddObserver(Observer* observer) {} |
13 void StubOfflinePageModel::RemoveObserver(Observer* observer) {} | 13 void StubOfflinePageModel::RemoveObserver(Observer* observer) {} |
14 void StubOfflinePageModel::SavePage( | 14 void StubOfflinePageModel::SavePage( |
15 const SavePageParams& save_page_params, | 15 const SavePageParams& save_page_params, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 ClientPolicyController* StubOfflinePageModel::GetPolicyController() { | 55 ClientPolicyController* StubOfflinePageModel::GetPolicyController() { |
56 return &policy_controller_; | 56 return &policy_controller_; |
57 } | 57 } |
58 bool StubOfflinePageModel::is_loaded() const { | 58 bool StubOfflinePageModel::is_loaded() const { |
59 return true; | 59 return true; |
60 } | 60 } |
61 OfflineEventLogger* StubOfflinePageModel::GetLogger() { | 61 OfflineEventLogger* StubOfflinePageModel::GetLogger() { |
62 return nullptr; | 62 return nullptr; |
63 } | 63 } |
64 } // namespace offline_pages | 64 } // namespace offline_pages |
OLD | NEW |