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: mojo/shell/capability_filter_test.cc

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

Powered by Google App Engine
This is Rietveld 408576698