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

Unified Diff: mojo/services/catalog/owner.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/services/catalog/owner.h ('k') | mojo/shell/background/tests/test_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/catalog/owner.cc
diff --git a/mojo/services/catalog/owner.cc b/mojo/services/catalog/owner.cc
deleted file mode 100644
index 7d24cfae88b78a8d5684a0224ed4c4c29ca7a4f5..0000000000000000000000000000000000000000
--- a/mojo/services/catalog/owner.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2016 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 "mojo/services/catalog/owner.h"
-
-#include "mojo/services/catalog/catalog.h"
-#include "mojo/shell/public/cpp/shell_connection.h"
-
-namespace catalog {
-
-Owner::Owner(base::TaskRunner* file_task_runner, scoped_ptr<Store> store)
- : catalog_shell_client_(new Catalog(file_task_runner, std::move(store))) {
- mojo::shell::mojom::ShellClientRequest request = GetProxy(&shell_client_);
- catalog_connection_.reset(new mojo::ShellConnection(
- catalog_shell_client_.get(), std::move(request)));
-}
-Owner::~Owner() {}
-
-mojo::shell::mojom::ShellClientPtr Owner::TakeShellClient() {
- return std::move(shell_client_);
-}
-
-} // namespace catalog
« no previous file with comments | « mojo/services/catalog/owner.h ('k') | mojo/shell/background/tests/test_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698