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

Unified Diff: chrome/browser/android/offline_pages/request_coordinator_factory.h

Issue 2432593002: [Offline Pages] Add basic evaluation tests and related changes. (Closed)
Patch Set: Fix build failure. Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/offline_pages/request_coordinator_factory.h
diff --git a/chrome/browser/android/offline_pages/request_coordinator_factory.h b/chrome/browser/android/offline_pages/request_coordinator_factory.h
index 357f5628eb01c3965136c4855ee5f85dd58efc6d..ca238d798078de06e9a5ccd566f4b027be205e3c 100644
--- a/chrome/browser/android/offline_pages/request_coordinator_factory.h
+++ b/chrome/browser/android/offline_pages/request_coordinator_factory.h
@@ -21,6 +21,10 @@ class RequestCoordinator;
// A factory to create one unique RequestCoordinator.
class RequestCoordinatorFactory : public BrowserContextKeyedServiceFactory {
public:
+#if !defined(OFFICIAL_BUILD)
+ static std::unique_ptr<KeyedService> GetTestingFactory(
+ content::BrowserContext* context);
+#endif
static RequestCoordinatorFactory* GetInstance();
static RequestCoordinator* GetForBrowserContext(
content::BrowserContext* context);

Powered by Google App Engine
This is Rietveld 408576698