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

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

Issue 846443006: Include Mojo SDK/EDK via fully-qualified paths in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include to satisfy checkdeps Created 5 years, 11 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
« no previous file with comments | « content/child/web_url_loader_impl.cc ('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/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "content/public/common/service_registry.h" 16 #include "content/public/common/service_registry.h"
17 #include "mojo/public/cpp/bindings/interface_impl.h" 17 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h"
18 #include "mojo/public/cpp/system/core.h" 18 #include "third_party/mojo/src/mojo/public/cpp/system/core.h"
19 #include "mojo/public/interfaces/application/service_provider.mojom.h" 19 #include "third_party/mojo/src/mojo/public/interfaces/application/service_provid er.mojom.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 class CONTENT_EXPORT ServiceRegistryImpl 23 class CONTENT_EXPORT ServiceRegistryImpl
24 : public ServiceRegistry, 24 : public ServiceRegistry,
25 public NON_EXPORTED_BASE(mojo::InterfaceImpl<mojo::ServiceProvider>) { 25 public NON_EXPORTED_BASE(mojo::InterfaceImpl<mojo::ServiceProvider>) {
26 public: 26 public:
27 ServiceRegistryImpl(); 27 ServiceRegistryImpl();
28 explicit ServiceRegistryImpl(mojo::ScopedMessagePipeHandle handle); 28 explicit ServiceRegistryImpl(mojo::ScopedMessagePipeHandle handle);
29 ~ServiceRegistryImpl() override; 29 ~ServiceRegistryImpl() override;
(...skipping 25 matching lines...) Expand all
55 std::queue<std::pair<std::string, mojo::MessagePipeHandle> > 55 std::queue<std::pair<std::string, mojo::MessagePipeHandle> >
56 pending_connects_; 56 pending_connects_;
57 bool bound_; 57 bool bound_;
58 58
59 base::WeakPtrFactory<ServiceRegistry> weak_factory_; 59 base::WeakPtrFactory<ServiceRegistry> weak_factory_;
60 }; 60 };
61 61
62 } // namespace content 62 } // namespace content
63 63
64 #endif // CONTENT_COMMON_MOJO_SERVICE_REGISTRY_IMPL_H_ 64 #endif // CONTENT_COMMON_MOJO_SERVICE_REGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/common/render_frame_setup.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698