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

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

Issue 1139123006: Fork the mojo shell interfaces used by Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 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
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_IMPL_H_ 5 #ifndef MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_
6 #define MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_ 6 #define MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_
7
7 #include <vector> 8 #include <vector>
8 9
9 #include "mojo/public/cpp/application/application_connection.h" 10 #include "mojo/application/public/cpp/application_connection.h"
10 #include "mojo/public/cpp/application/application_delegate.h" 11 #include "mojo/application/public/cpp/application_delegate.h"
11 #include "mojo/public/cpp/application/lib/service_registry.h" 12 #include "mojo/application/public/cpp/lib/service_registry.h"
13 #include "mojo/application/public/interfaces/application.mojom.h"
14 #include "mojo/application/public/interfaces/shell.mojom.h"
12 #include "mojo/public/cpp/system/core.h" 15 #include "mojo/public/cpp/system/core.h"
13 #include "mojo/public/interfaces/application/application.mojom.h"
14 #include "mojo/public/interfaces/application/shell.mojom.h"
15 16
16 namespace mojo { 17 namespace mojo {
17 18
18 // Utility class for communicating with the Shell, and providing Services 19 // Utility class for communicating with the Shell, and providing Services
19 // to clients. 20 // to clients.
20 // 21 //
21 // To use define a class that implements your specific server api, e.g. FooImpl 22 // To use define a class that implements your specific server api, e.g. FooImpl
22 // to implement a service named Foo. 23 // to implement a service named Foo.
23 // That class must subclass an InterfaceImpl specialization. 24 // That class must subclass an InterfaceImpl specialization.
24 // 25 //
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ShellPtr shell_; 130 ShellPtr shell_;
130 ShellPtrWatcher* shell_watch_; 131 ShellPtrWatcher* shell_watch_;
131 std::string url_; 132 std::string url_;
132 std::vector<std::string> args_; 133 std::vector<std::string> args_;
133 134
134 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl); 135 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl);
135 }; 136 };
136 137
137 } // namespace mojo 138 } // namespace mojo
138 139
139 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_ 140 #endif // MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698