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

Side by Side Diff: services/ui/display/output_protection.h

Issue 2804373002: Eliminate Connector::Connect(), Connection, etc. (Closed)
Patch Set: . Created 3 years, 8 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
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « services/ui/demo/mus_demo_unittests.cc ('k') | services/ui/display/screen_manager_ozone_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698