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

Side by Side Diff: net/http/transport_security_persister.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 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
« no previous file with comments | « net/http/proxy_client_socket.h ('k') | net/http/transport_security_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // TransportSecurityState maintains an in memory database containing the 5 // TransportSecurityState maintains an in memory database containing the
6 // list of hosts that currently have transport security enabled. This 6 // list of hosts that currently have transport security enabled. This
7 // singleton object deals with writing that data out to disk as needed and 7 // singleton object deals with writing that data out to disk as needed and
8 // loading it at startup. 8 // loading it at startup.
9 9
10 // At startup we need to load the transport security state from the 10 // At startup we need to load the transport security state from the
(...skipping 19 matching lines...) Expand all
30 // copies the current state of the TransportSecurityState, serializes 30 // copies the current state of the TransportSecurityState, serializes
31 // and writes to disk. 31 // and writes to disk.
32 32
33 #ifndef NET_HTTP_TRANSPORT_SECURITY_PERSISTER_H_ 33 #ifndef NET_HTTP_TRANSPORT_SECURITY_PERSISTER_H_
34 #define NET_HTTP_TRANSPORT_SECURITY_PERSISTER_H_ 34 #define NET_HTTP_TRANSPORT_SECURITY_PERSISTER_H_
35 35
36 #include <string> 36 #include <string>
37 37
38 #include "base/files/file_path.h" 38 #include "base/files/file_path.h"
39 #include "base/files/important_file_writer.h" 39 #include "base/files/important_file_writer.h"
40 #include "base/macros.h"
40 #include "base/memory/ref_counted.h" 41 #include "base/memory/ref_counted.h"
41 #include "base/memory/weak_ptr.h" 42 #include "base/memory/weak_ptr.h"
42 #include "net/base/net_export.h" 43 #include "net/base/net_export.h"
43 #include "net/http/transport_security_state.h" 44 #include "net/http/transport_security_state.h"
44 45
45 namespace base { 46 namespace base {
46 class DictionaryValue; 47 class DictionaryValue;
47 class SequencedTaskRunner; 48 class SequencedTaskRunner;
48 } 49 }
49 50
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const bool readonly_; 141 const bool readonly_;
141 142
142 base::WeakPtrFactory<TransportSecurityPersister> weak_ptr_factory_; 143 base::WeakPtrFactory<TransportSecurityPersister> weak_ptr_factory_;
143 144
144 DISALLOW_COPY_AND_ASSIGN(TransportSecurityPersister); 145 DISALLOW_COPY_AND_ASSIGN(TransportSecurityPersister);
145 }; 146 };
146 147
147 } // namespace net 148 } // namespace net
148 149
149 #endif // NET_HTTP_TRANSPORT_SECURITY_PERSISTER_H_ 150 #endif // NET_HTTP_TRANSPORT_SECURITY_PERSISTER_H_
OLDNEW
« no previous file with comments | « net/http/proxy_client_socket.h ('k') | net/http/transport_security_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698