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

Unified Diff: content/child/child_thread_impl.h

Issue 2850743004: Replace ServiceInfo with BindSourceInfo. (Closed)
Patch Set: . Created 3 years, 8 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 | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread_impl.h
diff --git a/content/child/child_thread_impl.h b/content/child/child_thread_impl.h
index af17dac6f05637b15ddb30d9253dce1d03d19c69..dccc0e0dff585cc1fc76bbe4494c4e66491317b8 100644
--- a/content/child/child_thread_impl.h
+++ b/content/child/child_thread_impl.h
@@ -27,7 +27,7 @@
#include "ipc/message_router.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
#include "mojo/public/cpp/bindings/associated_binding_set.h"
-#include "services/service_manager/public/cpp/service_info.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
namespace base {
class MessageLoop;
@@ -94,10 +94,10 @@ class CONTENT_EXPORT ChildThreadImpl
ServiceManagerConnection* GetServiceManagerConnection() override;
service_manager::Connector* GetConnector() override;
- // Returns the service_manager::ServiceInfo for the child process & the
+ // Returns the service_manager::BindSourceInfo for the child process & the
// browser process, once available.
- const service_manager::ServiceInfo& GetChildServiceInfo() const;
- const service_manager::ServiceInfo& GetBrowserServiceInfo() const;
+ const service_manager::BindSourceInfo& GetChildServiceInfo() const;
+ const service_manager::BindSourceInfo& GetBrowserServiceInfo() const;
bool IsConnectedToBrowser() const;
IPC::SyncChannel* channel() { return channel_.get(); }
@@ -241,15 +241,13 @@ class CONTENT_EXPORT ChildThreadImpl
// Called when a connection is received from another service. When that other
// service is the browser process, stores the remote's info.
- void OnServiceConnect(const service_manager::ServiceInfo& local_info,
- const service_manager::ServiceInfo& remote_info);
+ void OnServiceConnect(const service_manager::BindSourceInfo& remote_info);
std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
std::unique_ptr<ServiceManagerConnection> service_manager_connection_;
bool connected_to_browser_ = false;
- service_manager::ServiceInfo child_info_;
- service_manager::ServiceInfo browser_info_;
+ service_manager::BindSourceInfo browser_info_;
mojo::AssociatedBinding<mojom::RouteProvider> route_provider_binding_;
mojo::AssociatedBindingSet<mojom::AssociatedInterfaceProvider, int32_t>
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698