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

Side by Side Diff: content/common/mojo/service_registry_impl.h

Issue 423613002: Mojo: split up service_provider.mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/render_frame_setup.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_MOJO_SERVICE_REGISTRY_IMPL_H_ 5 #ifndef CONTENT_COMMON_MOJO_SERVICE_REGISTRY_IMPL_H_
6 #define CONTENT_COMMON_MOJO_SERVICE_REGISTRY_IMPL_H_ 6 #define CONTENT_COMMON_MOJO_SERVICE_REGISTRY_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "content/public/common/service_registry.h" 15 #include "content/public/common/service_registry.h"
16 #include "mojo/public/cpp/bindings/interface_impl.h" 16 #include "mojo/public/cpp/bindings/interface_impl.h"
17 #include "mojo/public/cpp/system/core.h" 17 #include "mojo/public/cpp/system/core.h"
18 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h" 18 #include "mojo/public/interfaces/application/service_provider.mojom.h"
19 19
20 namespace content { 20 namespace content {
21 21
22 class ServiceRegistryImpl : public ServiceRegistry, 22 class ServiceRegistryImpl : public ServiceRegistry,
23 public mojo::InterfaceImpl<mojo::ServiceProvider> { 23 public mojo::InterfaceImpl<mojo::ServiceProvider> {
24 public: 24 public:
25 ServiceRegistryImpl(); 25 ServiceRegistryImpl();
26 explicit ServiceRegistryImpl(mojo::ScopedMessagePipeHandle handle); 26 explicit ServiceRegistryImpl(mojo::ScopedMessagePipeHandle handle);
27 virtual ~ServiceRegistryImpl(); 27 virtual ~ServiceRegistryImpl();
28 28
(...skipping 27 matching lines...) Expand all
56 std::queue<std::pair<std::string, mojo::MessagePipeHandle> > 56 std::queue<std::pair<std::string, mojo::MessagePipeHandle> >
57 pending_connects_; 57 pending_connects_;
58 bool bound_; 58 bool bound_;
59 59
60 base::WeakPtrFactory<ServiceRegistry> weak_factory_; 60 base::WeakPtrFactory<ServiceRegistry> weak_factory_;
61 }; 61 };
62 62
63 } // namespace content 63 } // namespace content
64 64
65 #endif // CONTENT_COMMON_MOJO_SERVICE_REGISTRY_IMPL_H_ 65 #endif // CONTENT_COMMON_MOJO_SERVICE_REGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/render_frame_setup.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698