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

Unified Diff: mojo/services/catalog/owner.h

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/factory.cc ('k') | mojo/services/catalog/owner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/catalog/owner.h
diff --git a/mojo/services/catalog/owner.h b/mojo/services/catalog/owner.h
deleted file mode 100644
index c3994592fd4c68dcc34dae7a300df3663d9d94b7..0000000000000000000000000000000000000000
--- a/mojo/services/catalog/owner.h
+++ /dev/null
@@ -1,44 +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.
-
-#ifndef MOJO_SERVICES_CATALOG_OWNER_H_
-#define MOJO_SERVICES_CATALOG_OWNER_H_
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "mojo/shell/public/interfaces/shell_client.mojom.h"
-
-namespace base {
-class TaskRunner;
-}
-
-namespace mojo{
-class ShellClient;
-class ShellConnection;
-}
-
-namespace catalog {
-
-class Store;
-
-// Creates and owns an instance of the catalog. Exposes a ShellClientPtr that
-// can be passed to the Shell, potentially in a different process.
-class Owner {
- public:
- Owner(base::TaskRunner* file_task_runner, scoped_ptr<Store> store);
- ~Owner();
-
- mojo::shell::mojom::ShellClientPtr TakeShellClient();
-
- private:
- mojo::shell::mojom::ShellClientPtr shell_client_;
- scoped_ptr<mojo::ShellClient> catalog_shell_client_;
- scoped_ptr<mojo::ShellConnection> catalog_connection_;
-
- DISALLOW_COPY_AND_ASSIGN(Owner);
-};
-
-} // namespace catalog
-
-#endif // MOJO_SERVICES_CATALOG_OWNER_H_
« no previous file with comments | « mojo/services/catalog/factory.cc ('k') | mojo/services/catalog/owner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698