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

Side by Side Diff: ui/display/manager/chromeos/query_content_protection_task.h

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 UI_DISPLAY_CHROMEOS_QUERY_CONTENT_PROTECTION_TASK_H_ 5 #ifndef UI_DISPLAY_MANAGER_CHROMEOS_QUERY_CONTENT_PROTECTION_TASK_H_
6 #define UI_DISPLAY_CHROMEOS_QUERY_CONTENT_PROTECTION_TASK_H_ 6 #define UI_DISPLAY_MANAGER_CHROMEOS_QUERY_CONTENT_PROTECTION_TASK_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "ui/display/display_export.h" 14 #include "ui/display/manager/display_manager_export.h"
15 #include "ui/display/types/display_constants.h" 15 #include "ui/display/types/display_constants.h"
16 16
17 namespace ui { 17 namespace ui {
18 18
19 class DisplayLayoutManager; 19 class DisplayLayoutManager;
20 class NativeDisplayDelegate; 20 class NativeDisplayDelegate;
21 21
22 class DISPLAY_EXPORT QueryContentProtectionTask { 22 class DISPLAY_MANAGER_EXPORT QueryContentProtectionTask {
23 public: 23 public:
24 struct Response { 24 struct Response {
25 bool success = false; 25 bool success = false;
26 uint32_t link_mask = 0; 26 uint32_t link_mask = 0;
27 uint32_t enabled = 0; 27 uint32_t enabled = 0;
28 uint32_t unfulfilled = 0; 28 uint32_t unfulfilled = 0;
29 }; 29 };
30 30
31 typedef base::Callback<void(Response)> ResponseCallback; 31 typedef base::Callback<void(Response)> ResponseCallback;
32 32
(...skipping 25 matching lines...) Expand all
58 // yet. 58 // yet.
59 size_t pending_requests_; 59 size_t pending_requests_;
60 60
61 base::WeakPtrFactory<QueryContentProtectionTask> weak_ptr_factory_; 61 base::WeakPtrFactory<QueryContentProtectionTask> weak_ptr_factory_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(QueryContentProtectionTask); 63 DISALLOW_COPY_AND_ASSIGN(QueryContentProtectionTask);
64 }; 64 };
65 65
66 } // namespace ui 66 } // namespace ui
67 67
68 #endif // UI_DISPLAY_CHROMEOS_QUERY_CONTENT_PROTECTION_TASK_H_ 68 #endif // UI_DISPLAY_MANAGER_CHROMEOS_QUERY_CONTENT_PROTECTION_TASK_H_
OLDNEW
« no previous file with comments | « ui/display/manager/chromeos/display_util.cc ('k') | ui/display/manager/chromeos/query_content_protection_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698