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

Side by Side Diff: mojo/shell/capability_filter_test.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 | « mojo/shell/capability_filter_test.h ('k') | mojo/shell/connect_to_application_params.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/shell/capability_filter_test.h" 5 #include "mojo/shell/capability_filter_test.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "mojo/application/public/cpp/application_connection.h"
13 #include "mojo/application/public/cpp/application_impl.h"
14 #include "mojo/application/public/cpp/connect.h"
15 #include "mojo/application/public/cpp/interface_factory.h"
16 #include "mojo/application/public/cpp/service_provider_impl.h"
17 #include "mojo/common/weak_binding_set.h" 12 #include "mojo/common/weak_binding_set.h"
18 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
19 #include "mojo/shell/application_loader.h" 14 #include "mojo/shell/application_loader.h"
20 #include "mojo/shell/package_manager.h" 15 #include "mojo/shell/package_manager.h"
16 #include "mojo/shell/public/cpp/application_connection.h"
17 #include "mojo/shell/public/cpp/application_impl.h"
18 #include "mojo/shell/public/cpp/connect.h"
19 #include "mojo/shell/public/cpp/interface_factory.h"
20 #include "mojo/shell/public/cpp/service_provider_impl.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 namespace shell { 23 namespace shell {
24 namespace test { 24 namespace test {
25 25
26 // Lives on the main thread of the test. 26 // Lives on the main thread of the test.
27 // Listens for services exposed/blocked and for application connections being 27 // Listens for services exposed/blocked and for application connections being
28 // closed. Quits |loop| when all expectations are met. 28 // closed. Quits |loop| when all expectations are met.
29 class ConnectionValidator : public ApplicationLoader, 29 class ConnectionValidator : public ApplicationLoader,
30 public ApplicationDelegate, 30 public ApplicationDelegate,
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 void CapabilityFilterTest::RunTest() { 320 void CapabilityFilterTest::RunTest() {
321 loop()->Run(); 321 loop()->Run();
322 EXPECT_TRUE(validator_->expectations_met()); 322 EXPECT_TRUE(validator_->expectations_met());
323 if (!validator_->expectations_met()) 323 if (!validator_->expectations_met())
324 validator_->PrintUnmetExpectations(); 324 validator_->PrintUnmetExpectations();
325 } 325 }
326 326
327 } // namespace test 327 } // namespace test
328 } // namespace shell 328 } // namespace shell
329 } // namespace mojo 329 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/capability_filter_test.h ('k') | mojo/shell/connect_to_application_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698