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

Unified Diff: mojo/shell/standalone/context.cc

Issue 1791663002: Allow Catalogs to be constructed per-user (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@49catalog
Patch Set: . Created 4 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
« no previous file with comments | « mojo/shell/standalone/context.h ('k') | mojo/shell/tests/loader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/standalone/context.cc
diff --git a/mojo/shell/standalone/context.cc b/mojo/shell/standalone/context.cc
index 68d5c3ac2d18136684f25bb48c0a2a3029351eaf..dc0a25bb59e40f96ab215858be476ae558d16f56 100644
--- a/mojo/shell/standalone/context.cc
+++ b/mojo/shell/standalone/context.cc
@@ -29,7 +29,7 @@
#include "components/tracing/tracing_switches.h"
#include "mojo/edk/embedder/embedder.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "mojo/services/catalog/owner.h"
+#include "mojo/services/catalog/factory.h"
#include "mojo/services/catalog/store.h"
#include "mojo/services/tracing/public/cpp/switches.h"
#include "mojo/services/tracing/public/cpp/trace_provider_impl.h"
@@ -155,7 +155,7 @@ void Context::Init(scoped_ptr<InitParams> init_params) {
scoped_ptr<catalog::Store> store;
if (init_params)
store = std::move(init_params->catalog_store);
- catalog_.reset(new catalog::Owner(blocking_pool_.get(), std::move(store)));
+ catalog_.reset(new catalog::Factory(blocking_pool_.get(), std::move(store)));
shell_.reset(new Shell(std::move(runner_factory),
catalog_->TakeShellClient()));
« no previous file with comments | « mojo/shell/standalone/context.h ('k') | mojo/shell/tests/loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698