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

Unified Diff: content/browser/mojo/mojo_shell_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 | « content/browser/mojo/mojo_shell_context.h ('k') | mojo/mojo_shell.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_shell_context.cc
diff --git a/content/browser/mojo/mojo_shell_context.cc b/content/browser/mojo/mojo_shell_context.cc
index 91fdf545aa7e1168b87bc4e0193e138b96425b6d..6c1e7a7afa737f0e7aac1c2efbd09699ada0d3c0 100644
--- a/content/browser/mojo/mojo_shell_context.cc
+++ b/content/browser/mojo/mojo_shell_context.cc
@@ -25,7 +25,7 @@
#include "content/public/common/service_registry.h"
#include "mojo/public/cpp/bindings/interface_request.h"
#include "mojo/public/cpp/bindings/string.h"
-#include "mojo/services/catalog/owner.h"
+#include "mojo/services/catalog/factory.h"
#include "mojo/services/catalog/store.h"
#include "mojo/shell/connect_params.h"
#include "mojo/shell/loader.h"
@@ -207,7 +207,7 @@ MojoShellContext::MojoShellContext() {
scoped_ptr<mojo::shell::NativeRunnerFactory> native_runner_factory(
new mojo::shell::InProcessNativeRunnerFactory(
BrowserThread::GetBlockingPool()));
- catalog_.reset(new catalog::Owner(file_task_runner.get(), nullptr));
+ catalog_.reset(new catalog::Factory(file_task_runner.get(), nullptr));
shell_.reset(new mojo::shell::Shell(std::move(native_runner_factory),
catalog_->TakeShellClient()));
« no previous file with comments | « content/browser/mojo/mojo_shell_context.h ('k') | mojo/mojo_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698