OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_MUS_WS_DEFAULT_ACCESS_POLICY_H_ | 5 #ifndef COMPONENTS_MUS_WS_DEFAULT_ACCESS_POLICY_H_ |
6 #define COMPONENTS_MUS_WS_DEFAULT_ACCESS_POLICY_H_ | 6 #define COMPONENTS_MUS_WS_DEFAULT_ACCESS_POLICY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
9 #include "components/mus/ws/access_policy.h" | 11 #include "components/mus/ws/access_policy.h" |
10 | 12 |
11 namespace mus { | 13 namespace mus { |
12 | 14 |
13 namespace ws { | 15 namespace ws { |
14 | 16 |
15 class AccessPolicyDelegate; | 17 class AccessPolicyDelegate; |
16 | 18 |
17 // AccessPolicy for all connections, except the window manager. | 19 // AccessPolicy for all connections, except the window manager. |
18 class DefaultAccessPolicy : public AccessPolicy { | 20 class DefaultAccessPolicy : public AccessPolicy { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 AccessPolicyDelegate* delegate_; | 65 AccessPolicyDelegate* delegate_; |
64 | 66 |
65 DISALLOW_COPY_AND_ASSIGN(DefaultAccessPolicy); | 67 DISALLOW_COPY_AND_ASSIGN(DefaultAccessPolicy); |
66 }; | 68 }; |
67 | 69 |
68 } // namespace ws | 70 } // namespace ws |
69 | 71 |
70 } // namespace mus | 72 } // namespace mus |
71 | 73 |
72 #endif // COMPONENTS_MUS_WS_DEFAULT_ACCESS_POLICY_H_ | 74 #endif // COMPONENTS_MUS_WS_DEFAULT_ACCESS_POLICY_H_ |
OLD | NEW |