Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Side by Side Diff: chrome/browser/android/offline_pages/test_offline_page_model_builder.h

Issue 1521193002: [Offline pages] Refactor URL conversions from TabAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: With proper test implementation Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698