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

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

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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/guid.h" 11 #include "base/guid.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/test/test_suite.h" 14 #include "base/test/test_suite.h"
15 #include "mojo/public/cpp/bindings/binding_set.h" 15 #include "mojo/public/cpp/bindings/binding_set.h"
16 #include "mojo/shell/public/cpp/names.h" 16 #include "services/shell/public/cpp/names.h"
17 #include "mojo/shell/public/cpp/shell_test.h" 17 #include "services/shell/public/cpp/shell_test.h"
18 #include "mojo/shell/public/interfaces/shell.mojom.h" 18 #include "services/shell/public/interfaces/shell.mojom.h"
19 #include "mojo/shell/tests/connect/connect_test.mojom.h" 19 #include "services/shell/tests/connect/connect_test.mojom.h"
20 20
21 // Tests that multiple applications can be packaged in a single Mojo application 21 // Tests that multiple applications can be packaged in a single Mojo application
22 // implementing ShellClientFactory; that these applications can be specified by 22 // implementing ShellClientFactory; that these applications can be specified by
23 // the package's manifest and are thus registered with the PackageManager. 23 // the package's manifest and are thus registered with the PackageManager.
24 24
25 namespace mojo { 25 namespace mojo {
26 namespace shell { 26 namespace shell {
27 namespace { 27 namespace {
28 const char kTestPackageName[] = "mojo:connect_test_package"; 28 const char kTestPackageName[] = "mojo:connect_test_package";
29 const char kTestAppName[] = "mojo:connect_test_app"; 29 const char kTestAppName[] = "mojo:connect_test_app";
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 CompareConnectionState( 442 CompareConnectionState(
443 kTestAppAName, test_name(), test_userid(), test_instance_id(), 443 kTestAppAName, test_name(), test_userid(), test_instance_id(),
444 kTestAppAName, connection->GetRemoteIdentity().user_id(), remote_id); 444 kTestAppAName, connection->GetRemoteIdentity().user_id(), remote_id);
445 } 445 }
446 446
447 } 447 }
448 } 448 }
449 449
450 } // namespace shell 450 } // namespace shell
451 } // namespace mojo 451 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698