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

Side by Side Diff: net/tools/transport_security_state_generator/spki_hash.h

Issue 2632073002: Rename domain_security_preload_generator. (Closed)
Patch Set: rebase & comment rsleevi Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 NET_TOOLS_DOMAIN_SECURITY_PRELOAD_GENERATOR_SPKI_HASH_H_ 5 #ifndef NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_SPKI_HASH_H_
6 #define NET_TOOLS_DOMAIN_SECURITY_PRELOAD_GENERATOR_SPKI_HASH_H_ 6 #define NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_SPKI_HASH_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 namespace net { 12 namespace net {
13 13
14 namespace transport_security_state { 14 namespace transport_security_state {
15 15
16 class SPKIHash { 16 class SPKIHash {
(...skipping 22 matching lines...) Expand all
39 39
40 private: 40 private:
41 // The bytes of the hash. Current hashes are SHA256 and thus 32 bytes long. 41 // The bytes of the hash. Current hashes are SHA256 and thus 32 bytes long.
42 uint8_t data_[kLength]; 42 uint8_t data_[kLength];
43 }; 43 };
44 44
45 } // namespace transport_security_state 45 } // namespace transport_security_state
46 46
47 } // namespace net 47 } // namespace net
48 48
49 #endif // NET_TOOLS_DOMAIN_SECURITY_PRELOAD_GENERATOR_SPKI_HASH_H_ 49 #endif // NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_SPKI_HASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698