OLD | NEW |
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 "base/at_exit.h" | 5 #include "base/at_exit.h" |
6 #include "base/bind.h" | 6 #include "base/bind.h" |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "mojo/application/public/cpp/application_delegate.h" | |
10 #include "mojo/shell/application_loader.h" | 9 #include "mojo/shell/application_loader.h" |
11 #include "mojo/shell/application_manager.h" | 10 #include "mojo/shell/application_manager.h" |
12 #include "mojo/shell/capability_filter_unittest.mojom.h" | 11 #include "mojo/shell/capability_filter_unittest.mojom.h" |
| 12 #include "mojo/shell/public/cpp/application_delegate.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace mojo { | 15 namespace mojo { |
16 namespace shell { | 16 namespace shell { |
17 namespace test { | 17 namespace test { |
18 | 18 |
19 class ConnectionValidator; | 19 class ConnectionValidator; |
20 | 20 |
21 // This class models an application who will use the shell to interact with a | 21 // This class models an application who will use the shell to interact with a |
22 // system service. The shell may limit this application's visibility of the full | 22 // system service. The shell may limit this application's visibility of the full |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 base::MessageLoop loop_; | 99 base::MessageLoop loop_; |
100 scoped_ptr<ApplicationManager> application_manager_; | 100 scoped_ptr<ApplicationManager> application_manager_; |
101 ConnectionValidator* validator_; | 101 ConnectionValidator* validator_; |
102 | 102 |
103 DISALLOW_COPY_AND_ASSIGN(CapabilityFilterTest); | 103 DISALLOW_COPY_AND_ASSIGN(CapabilityFilterTest); |
104 }; | 104 }; |
105 | 105 |
106 } // namespace test | 106 } // namespace test |
107 } // namespace shell | 107 } // namespace shell |
108 } // namespace mojo | 108 } // namespace mojo |
OLD | NEW |