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

Side by Side Diff: extensions/browser/api/cast_channel/cast_auth_util.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_UTIL_H_ 5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_UTIL_H_
6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_UTIL_H_ 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 12
13 namespace cast_certificate { 13 namespace cast_certificate {
14 enum class CRLPolicy; 14 enum class CRLPolicy;
15 } 15 }
16 16
17 namespace net { 17 namespace net {
18 class X509Certificate; 18 class X509Certificate;
19 class TrustStore; 19 class TrustStore;
20 } // namespace net 20 } // namespace net
21 21
22 namespace extensions { 22 namespace extensions {
23 namespace api { 23 namespace api {
24 namespace cast_channel { 24 namespace cast_channel {
25 25
26 class AuthResponse; 26 class AuthResponse;
27 class CastMessage; 27 class CastMessage;
28 class DeviceAuthMessage;
29 28
30 struct AuthResult { 29 struct AuthResult {
31 public: 30 public:
32 enum ErrorType { 31 enum ErrorType {
33 ERROR_NONE, 32 ERROR_NONE,
34 ERROR_PEER_CERT_EMPTY, 33 ERROR_PEER_CERT_EMPTY,
35 ERROR_WRONG_PAYLOAD_TYPE, 34 ERROR_WRONG_PAYLOAD_TYPE,
36 ERROR_NO_PAYLOAD, 35 ERROR_NO_PAYLOAD,
37 ERROR_PAYLOAD_PARSING_FAILED, 36 ERROR_PAYLOAD_PARSING_FAILED,
38 ERROR_MESSAGE_ERROR, 37 ERROR_MESSAGE_ERROR,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 const cast_certificate::CRLPolicy& crl_policy, 89 const cast_certificate::CRLPolicy& crl_policy,
91 net::TrustStore* cast_trust_store, 90 net::TrustStore* cast_trust_store,
92 net::TrustStore* crl_trust_store, 91 net::TrustStore* crl_trust_store,
93 const base::Time& verification_time); 92 const base::Time& verification_time);
94 93
95 } // namespace cast_channel 94 } // namespace cast_channel
96 } // namespace api 95 } // namespace api
97 } // namespace extensions 96 } // namespace extensions
98 97
99 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_UTIL_H_ 98 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_UTIL_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_private_api.h ('k') | extensions/browser/api/cast_channel/cast_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698