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

Side by Side Diff: mojo/public/cpp/application/application_connection.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 | « mojo/public/cpp/application/DEPS ('k') | mojo/public/cpp/application/application_impl.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/service_connector.h" 10 #include "mojo/public/cpp/application/lib/service_connector.h"
11 #include "mojo/public/interfaces/application/service_provider.mojom.h"
11 12
12 namespace mojo { 13 namespace mojo {
13 14
14 // An instance of this class is passed to 15 // An instance of this class is passed to
15 // ApplicationDelegate's ConfigureIncomingConnection() method each time a 16 // ApplicationDelegate's ConfigureIncomingConnection() method each time a
16 // connection is made to this app, and to ApplicationDelegate's 17 // connection is made to this app, and to ApplicationDelegate's
17 // ConfigureOutgoingConnection() method when the app connects to 18 // ConfigureOutgoingConnection() method when the app connects to
18 // another. 19 // another.
19 // 20 //
20 // To use define a class that implements your specific service api, e.g. FooImpl 21 // To use define a class that implements your specific service api, e.g. FooImpl
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual ServiceProvider* GetServiceProvider() = 0; 73 virtual ServiceProvider* GetServiceProvider() = 0;
73 74
74 private: 75 private:
75 virtual void AddServiceConnector( 76 virtual void AddServiceConnector(
76 internal::ServiceConnectorBase* service_connector) = 0; 77 internal::ServiceConnectorBase* service_connector) = 0;
77 }; 78 };
78 79
79 } // namespace mojo 80 } // namespace mojo
80 81
81 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_ 82 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_CONNECTION_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/application/DEPS ('k') | mojo/public/cpp/application/application_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698