Chromium Code Reviews| 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 }; |
|
mark a. foltz
2015/01/13 01:42:19
Prefer a multi-line declaration; the style guide d
vadimgo
2015/01/13 02:21:44
"git cl format" formats this way, and since I run
|
| + |
| // 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; |
| private: |
| AuthResult(const std::string& error_message, |