| OLD | NEW |
| 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_ICA_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_ICA_H_ |
| 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_ICA_H_ | 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_ICA_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
| 15 #include "net/base/hash_value.h" | 16 #include "net/base/hash_value.h" |
| 16 | 17 |
| 17 namespace extensions { | 18 namespace extensions { |
| 18 namespace api { | 19 namespace api { |
| 19 namespace cast_channel { | 20 namespace cast_channel { |
| 20 | 21 |
| 21 typedef std::map<net::SHA256HashValue, | 22 typedef std::map<net::SHA256HashValue, |
| 22 base::StringPiece, | 23 base::StringPiece, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 base::StringPiece GetTrustedICAPublicKey(const base::StringPiece& data); | 75 base::StringPiece GetTrustedICAPublicKey(const base::StringPiece& data); |
| 75 | 76 |
| 76 // Gets the default trusted ICA for legacy compatibility. | 77 // Gets the default trusted ICA for legacy compatibility. |
| 77 base::StringPiece GetDefaultTrustedICAPublicKey(); | 78 base::StringPiece GetDefaultTrustedICAPublicKey(); |
| 78 | 79 |
| 79 } // namespace cast_channel | 80 } // namespace cast_channel |
| 80 } // namespace api | 81 } // namespace api |
| 81 } // namespace extensions | 82 } // namespace extensions |
| 82 | 83 |
| 83 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_ICA_H_ | 84 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_AUTH_ICA_H_ |
| OLD | NEW |