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

Side by Side Diff: chrome/browser/chromeos/display/output_protection_controller_ash.h

Issue 2675743002: PPAPI: Make output protection API work with mus+ash (Closed)
Patch Set: Update 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
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 CHROME_BROWSER_CHROMEOS_DISPLAY_OUTPUT_PROTECTION_CONTROLLER_ASH_H_
6 #define CHROME_BROWSER_CHROMEOS_DISPLAY_OUTPUT_PROTECTION_CONTROLLER_ASH_H_
7
8 #include "base/macros.h"
9 #include "base/threading/thread_checker.h"
10 #include "chrome/browser/chromeos/display/output_protection_delegate.h"
11 #include "ui/display/manager/chromeos/display_configurator.h"
12
13 namespace chromeos {
14
15 // Display content protection controller for running with ash.
16 class OutputProtectionControllerAsh
17 : public OutputProtectionDelegate::Controller {
18 public:
19 OutputProtectionControllerAsh();
20 ~OutputProtectionControllerAsh() override;
21
22 void QueryStatus(
kcwu 2017/02/11 01:45:21 // OutputProtectionDelegate::Controller:
Peng 2017/02/13 21:14:46 Done.
23 int64_t display_id,
24 const OutputProtectionDelegate::QueryStatusCallback& callback) override;
25 void EnableProtection(
26 int64_t display_id,
27 uint32_t desired_method_mask,
28 const OutputProtectionDelegate::EnableProtectionCallback& callback)
29 override;
30
31 private:
32 const uint64_t client_id_;
33 base::ThreadChecker thread_checker_;
34
35 DISALLOW_COPY_AND_ASSIGN(OutputProtectionControllerAsh);
36 };
37
38 } // namespace chromeos
39
40 #endif // CHROME_BROWSER_CHROMEOS_DISPLAY_OUTPUT_PROTECTION_CONTROLLER_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698