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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.h

Issue 2174753004: arc:Integration test for Arc package Chrome sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@current
Patch Set: Created 4 years, 5 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/ui/app_list/arc/arc_app_list_prefs_factory.h
diff --git a/chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.h b/chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.h
index b13ea20cfa5a8a0ebf1b03de4a811b5dc875a596..caf7302e8d2f455665c12f5eb152bb9e221a7af3 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.h
+++ b/chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.h
@@ -20,6 +20,8 @@ class ArcAppListPrefsFactory : public BrowserContextKeyedServiceFactory {
static ArcAppListPrefsFactory* GetInstance();
+ static void SetFactoryForSynctTest();
Luis Héctor Chávez 2016/07/25 17:56:24 nit: SetFactoryForSyncTest
lgcheng 2016/07/25 20:45:32 Done.
+
private:
friend struct base::DefaultSingletonTraits<ArcAppListPrefsFactory>;
@@ -31,6 +33,8 @@ class ArcAppListPrefsFactory : public BrowserContextKeyedServiceFactory {
content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override;
+ static bool is_sync_test_;
+
DISALLOW_COPY_AND_ASSIGN(ArcAppListPrefsFactory);
};

Powered by Google App Engine
This is Rietveld 408576698