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

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

Issue 2675743002: PPAPI: Make output protection API work with mus+ash (Closed)
Patch Set: Addressed review issues Created 3 years, 10 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
« no previous file with comments | « services/ui/display/BUILD.gn ('k') | services/ui/display/output_protection.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_
6 #define SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_
7
8 #include <stdint.h>
9
10 #include "base/macros.h"
11 #include "services/service_manager/public/cpp/connection.h"
12 #include "services/service_manager/public/cpp/interface_factory.h"
13 #include "services/ui/public/interfaces/display/output_protection.mojom.h"
14
15 namespace display {
16
17 class DisplayConfigurator;
18
19 // OutputProtection provides the necessary functionality to configure output
20 // protection.
21 class OutputProtection : public mojom::OutputProtection {
22 public:
23 explicit OutputProtection(DisplayConfigurator* display_configurator);
24 ~OutputProtection() override;
25
26 // mojom::OutputProtection:
27 void QueryContentProtectionStatus(
28 int64_t display_id,
29 const QueryContentProtectionStatusCallback& callback) override;
30 void SetContentProtection(
31 int64_t display_id,
32 uint32_t desired_method_mask,
33 const SetContentProtectionCallback& callback) override;
34
35 private:
36 DisplayConfigurator* const display_configurator_;
37 const uint64_t client_id_;
38
39 DISALLOW_COPY_AND_ASSIGN(OutputProtection);
40 };
41
42 } // namespace display
43
44 #endif // SERVICES_UI_DISPLAY_OUTPUT_PROTECTION_H_
OLDNEW
« no previous file with comments | « services/ui/display/BUILD.gn ('k') | services/ui/display/output_protection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698