Index: extensions/browser/api/cast_channel/cast_auth_util.h |
diff --git a/extensions/browser/api/cast_channel/cast_auth_util.h b/extensions/browser/api/cast_channel/cast_auth_util.h |
index b68d211f9704fb41913a87b58426239bb69e757b..3ce37b6310bc2509873554b006c31e7f58e5904a 100644 |
--- a/extensions/browser/api/cast_channel/cast_auth_util.h |
+++ b/extensions/browser/api/cast_channel/cast_auth_util.h |
@@ -33,6 +33,8 @@ struct AuthResult { |
ERROR_UNEXPECTED_AUTH_LIBRARY_RESULT |
}; |
+ enum PolicyType { POLICY_NONE = 0, POLICY_AUDIO_ONLY = 1 << 0 }; |
+ |
// Constructs a AuthResult that corresponds to success. |
AuthResult(); |
~AuthResult(); |
@@ -48,6 +50,7 @@ struct AuthResult { |
std::string error_message; |
ErrorType error_type; |
int nss_error_code; |
+ unsigned int channel_policy; |
Kevin M
2015/01/14 00:26:16
Policies, since there can be >1?
vadimgo
2015/01/14 01:16:14
Done.
|
private: |
AuthResult(const std::string& error_message, |