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

Side by Side Diff: content/child/child_thread_impl.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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/browser/web_contents/web_contents_impl.cc ('k') | content/child/child_thread_impl.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHILD_CHILD_THREAD_IMPL_H_ 5 #ifndef CONTENT_CHILD_CHILD_THREAD_IMPL_H_
6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 20 matching lines...) Expand all
31 namespace base { 31 namespace base {
32 class MessageLoop; 32 class MessageLoop;
33 } // namespace base 33 } // namespace base
34 34
35 namespace IPC { 35 namespace IPC {
36 class MessageFilter; 36 class MessageFilter;
37 class SyncChannel; 37 class SyncChannel;
38 class SyncMessageFilter; 38 class SyncMessageFilter;
39 } // namespace IPC 39 } // namespace IPC
40 40
41 namespace shell { 41 namespace service_manager {
42 class Connection; 42 class Connection;
43 } // namespace shell 43 } // namespace service_manager
44 44
45 namespace mojo { 45 namespace mojo {
46 namespace edk { 46 namespace edk {
47 class ScopedIPCSupport; 47 class ScopedIPCSupport;
48 } // namespace edk 48 } // namespace edk
49 } // namespace mojo 49 } // namespace mojo
50 50
51 namespace blink { 51 namespace blink {
52 class WebFrame; 52 class WebFrame;
53 } // namespace blink 53 } // namespace blink
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool Send(IPC::Message* msg) override; 96 bool Send(IPC::Message* msg) override;
97 97
98 // ChildThread implementation: 98 // ChildThread implementation:
99 #if defined(OS_WIN) 99 #if defined(OS_WIN)
100 void PreCacheFont(const LOGFONT& log_font) override; 100 void PreCacheFont(const LOGFONT& log_font) override;
101 void ReleaseCachedFonts() override; 101 void ReleaseCachedFonts() override;
102 #endif 102 #endif
103 void RecordAction(const base::UserMetricsAction& action) override; 103 void RecordAction(const base::UserMetricsAction& action) override;
104 void RecordComputedAction(const std::string& action) override; 104 void RecordComputedAction(const std::string& action) override;
105 ServiceManagerConnection* GetServiceManagerConnection() override; 105 ServiceManagerConnection* GetServiceManagerConnection() override;
106 shell::InterfaceRegistry* GetInterfaceRegistry() override; 106 service_manager::InterfaceRegistry* GetInterfaceRegistry() override;
107 shell::InterfaceProvider* GetRemoteInterfaces() override; 107 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
108 108
109 IPC::SyncChannel* channel() { return channel_.get(); } 109 IPC::SyncChannel* channel() { return channel_.get(); }
110 110
111 IPC::MessageRouter* GetRouter(); 111 IPC::MessageRouter* GetRouter();
112 112
113 mojom::RouteProvider* GetRemoteRouteProvider(); 113 mojom::RouteProvider* GetRemoteRouteProvider();
114 114
115 // Allocates a block of shared memory of the given size. Returns NULL on 115 // Allocates a block of shared memory of the given size. Returns NULL on
116 // failure. 116 // failure.
117 // Note: On posix, this requires a sync IPC to the browser process, 117 // Note: On posix, this requires a sync IPC to the browser process,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 void GetRoute( 260 void GetRoute(
261 int32_t routing_id, 261 int32_t routing_id,
262 mojom::AssociatedInterfaceProviderAssociatedRequest request) override; 262 mojom::AssociatedInterfaceProviderAssociatedRequest request) override;
263 263
264 // mojom::AssociatedInterfaceProvider: 264 // mojom::AssociatedInterfaceProvider:
265 void GetAssociatedInterface( 265 void GetAssociatedInterface(
266 const std::string& name, 266 const std::string& name,
267 mojom::AssociatedInterfaceAssociatedRequest request) override; 267 mojom::AssociatedInterfaceAssociatedRequest request) override;
268 268
269 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; 269 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
270 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; 270 std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_;
271 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; 271 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_;
272 std::unique_ptr<ServiceManagerConnection> service_manager_connection_; 272 std::unique_ptr<ServiceManagerConnection> service_manager_connection_;
273 std::unique_ptr<shell::Connection> browser_connection_; 273 std::unique_ptr<service_manager::Connection> browser_connection_;
274 274
275 mojo::AssociatedBinding<mojom::RouteProvider> route_provider_binding_; 275 mojo::AssociatedBinding<mojom::RouteProvider> route_provider_binding_;
276 mojo::AssociatedBindingSet<mojom::AssociatedInterfaceProvider> 276 mojo::AssociatedBindingSet<mojom::AssociatedInterfaceProvider>
277 associated_interface_provider_bindings_; 277 associated_interface_provider_bindings_;
278 mojom::RouteProviderAssociatedPtr remote_route_provider_; 278 mojom::RouteProviderAssociatedPtr remote_route_provider_;
279 279
280 std::unique_ptr<IPC::SyncChannel> channel_; 280 std::unique_ptr<IPC::SyncChannel> channel_;
281 281
282 // Allows threads other than the main thread to send sync messages. 282 // Allows threads other than the main thread to send sync messages.
283 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; 283 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 359
360 private: 360 private:
361 struct Options options_; 361 struct Options options_;
362 362
363 DISALLOW_COPY_AND_ASSIGN(Builder); 363 DISALLOW_COPY_AND_ASSIGN(Builder);
364 }; 364 };
365 365
366 } // namespace content 366 } // namespace content
367 367
368 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 368 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698