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

Unified Diff: apps/browser_context_keyed_service_factories.cc

Issue 195943018: Move extensions BCKS factory creation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move stuff back out of PreProfileInit (because TestingProfile) Created 6 years, 9 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: apps/browser_context_keyed_service_factories.cc
diff --git a/apps/browser_context_keyed_service_factories.cc b/apps/browser_context_keyed_service_factories.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9f0a1b6a5f5f3ef44856ac690639769bde736abe
--- /dev/null
+++ b/apps/browser_context_keyed_service_factories.cc
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "apps/browser_context_keyed_service_factories.h"
+
+#include "apps/app_load_service_factory.h"
+#include "apps/app_restore_service_factory.h"
+#include "apps/app_window_geometry_cache.h"
+
+namespace apps {
+
+void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
+ apps::AppLoadServiceFactory::GetInstance();
+ apps::AppRestoreServiceFactory::GetInstance();
+ apps::AppWindowGeometryCache::Factory::GetInstance();
+}
+
+} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698