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

Unified Diff: ui/display/manager/chromeos/display_configurator.h

Issue 2675743002: PPAPI: Make output protection API work with mus+ash (Closed)
Patch Set: Fix try bot 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 side-by-side diff with in-line comments
Download patch
Index: ui/display/manager/chromeos/display_configurator.h
diff --git a/ui/display/manager/chromeos/display_configurator.h b/ui/display/manager/chromeos/display_configurator.h
index c9034adf3609d7771818fea79a7d42eaebf79694..498cac162594523b092ea7d84ec8a0dfade8a2d4 100644
--- a/ui/display/manager/chromeos/display_configurator.h
+++ b/ui/display/manager/chromeos/display_configurator.h
@@ -51,20 +51,13 @@ class DISPLAY_MANAGER_EXPORT DisplayConfigurator
typedef base::Callback<void(bool /* success */)> EnableProtectionCallback;
- struct QueryProtectionResponse {
- // True if the query succeeded, false otherwise.
- bool success = false;
-
- // The type of connected display links, which is a bitmask of
- // DisplayConnectionType values.
- uint32_t link_mask = 0;
-
- // The desired protection methods, which is a bitmask of the
- // ContentProtectionMethod values.
- uint32_t protection_mask = 0;
- };
-
- typedef base::Callback<void(const QueryProtectionResponse&)>
+ // link_mask: The type of connected display links, which is a bitmask of
+ // DisplayConnectionType values.
+ // protection_mask: The desired protection methods, which is a bitmask of the
+ // ContentProtectionMethod values.
+ typedef base::Callback<void(bool /* success */,
+ uint32_t /* link_mask */,
+ uint32_t /* protection_mask */)>
QueryProtectionCallback;
typedef base::Callback<void(bool /* success */)> DisplayControlCallback;

Powered by Google App Engine
This is Rietveld 408576698