OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_TEST_OFFLINE_PAGE_MODEL_BUILDER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_TEST_OFFLINE_PAGE_MODEL_BUILDER_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 |
| 10 class KeyedService; |
| 11 |
| 12 namespace content { |
| 13 class BrowserContext; |
| 14 } |
| 15 |
| 16 namespace offline_pages { |
| 17 |
| 18 // Helper function to be used with |
| 19 // BrowserContextKeyedServiceFactory::SetTestingFactory() that returns a |
| 20 // OfflinePageModel object with mocked store. |
| 21 scoped_ptr<KeyedService> BuildTestOfflinePageModel( |
| 22 content::BrowserContext* context); |
| 23 |
| 24 } // namespace offline_pages |
| 25 |
| 26 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_TEST_OFFLINE_PAGE_MODEL_BUILDER_
H_ |
OLD | NEW |