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

Side by Side Diff: mojo/shell/tests/package_test_package.cc

Issue 1711133002: Fix header include (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/threading/simple_thread.h" 13 #include "base/threading/simple_thread.h"
14 #include "mojo/public/c/system/main.h" 14 #include "mojo/public/c/system/main.h"
15 #include "mojo/public/cpp/bindings/weak_binding_set.h" 15 #include "mojo/public/cpp/bindings/weak_binding_set.h"
16 #include "mojo/shell/package_test.mojom.h"
17 #include "mojo/shell/public/cpp/application_runner.h" 16 #include "mojo/shell/public/cpp/application_runner.h"
18 #include "mojo/shell/public/cpp/interface_factory.h" 17 #include "mojo/shell/public/cpp/interface_factory.h"
19 #include "mojo/shell/public/cpp/shell.h" 18 #include "mojo/shell/public/cpp/shell.h"
20 #include "mojo/shell/public/cpp/shell_client.h" 19 #include "mojo/shell/public/cpp/shell_client.h"
21 #include "mojo/shell/public/interfaces/shell_client_factory.mojom.h" 20 #include "mojo/shell/public/interfaces/shell_client_factory.mojom.h"
21 #include "mojo/shell/tests/package_test.mojom.h"
22 22
23 // Tests that multiple applications can be packaged in a single Mojo application 23 // Tests that multiple applications can be packaged in a single Mojo application
24 // implementing ShellClientFactory; that these applications can be specified by 24 // implementing ShellClientFactory; that these applications can be specified by
25 // the package's manifest and are thus registered with the PackageManager. 25 // the package's manifest and are thus registered with the PackageManager.
26 26
27 namespace mojo { 27 namespace mojo {
28 namespace shell { 28 namespace shell {
29 29
30 using GetNameCallback = test::mojom::PackageTestService::GetNameCallback; 30 using GetNameCallback = test::mojom::PackageTestService::GetNameCallback;
31 31
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 } // namespace shell 158 } // namespace shell
159 } // namespace mojo 159 } // namespace mojo
160 160
161 161
162 MojoResult MojoMain(MojoHandle shell_handle) { 162 MojoResult MojoMain(MojoHandle shell_handle) {
163 MojoResult rv = mojo::ApplicationRunner( 163 MojoResult rv = mojo::ApplicationRunner(
164 new mojo::shell::PackageTestShellClient).Run(shell_handle); 164 new mojo::shell::PackageTestShellClient).Run(shell_handle);
165 return rv; 165 return rv;
166 } 166 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698