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); | |
jianli
2015/12/15 01:45:24
nit: empty line
fgorski
2015/12/15 16:33:02
Done.
| |
23 } // namespace offline_pages | |
24 | |
25 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_TEST_OFFLINE_PAGE_MODEL_BUILDER_ H_ | |
OLD | NEW |