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

Side by Side Diff: mojo/public/cpp/application/application_connection.h

Issue 1966003002: Remove ApplicationConnection::GetServiceProvider(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | mojo/public/cpp/application/lib/service_registry.h » ('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 MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_ 5 #ifndef MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_
6 #define MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_ 6 #define MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "mojo/public/cpp/application/lib/interface_factory_connector.h" 10 #include "mojo/public/cpp/application/lib/interface_factory_connector.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // application handles multiple URLs. Note that this is the URL after all 55 // application handles multiple URLs. Note that this is the URL after all
56 // URL rewriting and HTTP redirects have been performed. 56 // URL rewriting and HTTP redirects have been performed.
57 // 57 //
58 // When ApplicationConnection is representing and outgoing connection, this 58 // When ApplicationConnection is representing and outgoing connection, this
59 // will be the same as the value returned by GetRemoveApplicationURL(). 59 // will be the same as the value returned by GetRemoveApplicationURL().
60 virtual const std::string& GetConnectionURL() = 0; 60 virtual const std::string& GetConnectionURL() = 0;
61 61
62 // Returns the URL identifying the remote application on this connection. 62 // Returns the URL identifying the remote application on this connection.
63 virtual const std::string& GetRemoteApplicationURL() = 0; 63 virtual const std::string& GetRemoteApplicationURL() = 0;
64 64
65 // Returns the raw proxy to the remote application's ServiceProvider
66 // interface. Most applications will just use ConnectToService() instead.
67 // Caller does not take ownership.
68 virtual ServiceProvider* GetServiceProvider() = 0;
69
70 private: 65 private:
71 virtual void SetServiceConnectorForName(ServiceConnector* service_connector, 66 virtual void SetServiceConnectorForName(ServiceConnector* service_connector,
72 const std::string& name) = 0; 67 const std::string& name) = 0;
73 }; 68 };
74 69
75 } // namespace mojo 70 } // namespace mojo
76 71
77 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_ 72 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/public/cpp/application/lib/service_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698