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

Side by Side Diff: mojo/shell/tests/connect/connect_unittest.cc

Issue 1764253002: Rename shell.mojom to connector.mojom, ApplicationManager to Shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@32exe
Patch Set: . Created 4 years, 9 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 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/test/test_suite.h" 13 #include "base/test/test_suite.h"
14 #include "mojo/public/cpp/bindings/binding_set.h" 14 #include "mojo/public/cpp/bindings/binding_set.h"
15 #include "mojo/shell/public/cpp/shell_test.h" 15 #include "mojo/shell/public/cpp/shell_test.h"
16 #include "mojo/shell/public/interfaces/application_manager.mojom.h" 16 #include "mojo/shell/public/interfaces/shell.mojom.h"
17 #include "mojo/shell/tests/connect/connect_test.mojom.h" 17 #include "mojo/shell/tests/connect/connect_test.mojom.h"
18 18
19 // Tests that multiple applications can be packaged in a single Mojo application 19 // Tests that multiple applications can be packaged in a single Mojo application
20 // implementing ShellClientFactory; that these applications can be specified by 20 // implementing ShellClientFactory; that these applications can be specified by
21 // the package's manifest and are thus registered with the PackageManager. 21 // the package's manifest and are thus registered with the PackageManager.
22 22
23 namespace mojo { 23 namespace mojo {
24 namespace shell { 24 namespace shell {
25 namespace { 25 namespace {
26 const char kTestPackageName[] = "mojo:connect_test_package"; 26 const char kTestPackageName[] = "mojo:connect_test_package";
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 CompareConnectionState( 252 CompareConnectionState(
253 kTestAppAName, test_name(), test_userid(), test_instance_id(), 253 kTestAppAName, test_name(), test_userid(), test_instance_id(),
254 kTestAppAName, remote_id, connection->GetRemoteUserID()); 254 kTestAppAName, remote_id, connection->GetRemoteUserID());
255 } 255 }
256 256
257 } 257 }
258 } 258 }
259 259
260 } // namespace shell 260 } // namespace shell
261 } // namespace mojo 261 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/tests/connect/connect_test_app.cc ('k') | mojo/shell/tests/lifecycle/lifecycle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698