OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_ | 5 #ifndef SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_ |
6 #define SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_ | 6 #define SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "services/service_manager/public/cpp/connection.h" | |
12 #include "services/service_manager/public/cpp/interface_factory.h" | 11 #include "services/service_manager/public/cpp/interface_factory.h" |
13 #include "services/ui/public/interfaces/display/output_protection.mojom.h" | 12 #include "services/ui/public/interfaces/display/output_protection.mojom.h" |
14 | 13 |
15 namespace display { | 14 namespace display { |
16 | 15 |
17 class DisplayConfigurator; | 16 class DisplayConfigurator; |
18 | 17 |
19 // OutputProtection provides the necessary functionality to configure output | 18 // OutputProtection provides the necessary functionality to configure output |
20 // protection. | 19 // protection. |
21 class OutputProtection : public mojom::OutputProtection { | 20 class OutputProtection : public mojom::OutputProtection { |
(...skipping 13 matching lines...) Expand all Loading... |
35 private: | 34 private: |
36 DisplayConfigurator* const display_configurator_; | 35 DisplayConfigurator* const display_configurator_; |
37 const uint64_t client_id_; | 36 const uint64_t client_id_; |
38 | 37 |
39 DISALLOW_COPY_AND_ASSIGN(OutputProtection); | 38 DISALLOW_COPY_AND_ASSIGN(OutputProtection); |
40 }; | 39 }; |
41 | 40 |
42 } // namespace display | 41 } // namespace display |
43 | 42 |
44 #endif // SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_ | 43 #endif // SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_ |
OLD | NEW |