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

Side by Side Diff: net/ftp/ftp_auth_cache.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/filter/sdch_filter_unittest.cc ('k') | net/ftp/ftp_ctrl_response_buffer.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FTP_FTP_AUTH_CACHE_H_ 5 #ifndef NET_FTP_FTP_AUTH_CACHE_H_
6 #define NET_FTP_FTP_AUTH_CACHE_H_ 6 #define NET_FTP_FTP_AUTH_CACHE_H_
7 7
8 #include <stddef.h>
9
8 #include <list> 10 #include <list>
9 11
10 #include "net/base/auth.h" 12 #include "net/base/auth.h"
11 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
12 #include "url/gurl.h" 14 #include "url/gurl.h"
13 15
14 namespace net { 16 namespace net {
15 17
16 // The FtpAuthCache class is a simple cache structure to store authentication 18 // The FtpAuthCache class is a simple cache structure to store authentication
17 // information for ftp. Provides lookup, insertion, and deletion of entries. 19 // information for ftp. Provides lookup, insertion, and deletion of entries.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 typedef std::list<Entry> EntryList; 54 typedef std::list<Entry> EntryList;
53 55
54 // Internal representation of cache, an STL list. This makes lookups O(n), 56 // Internal representation of cache, an STL list. This makes lookups O(n),
55 // but we expect n to be very low. 57 // but we expect n to be very low.
56 EntryList entries_; 58 EntryList entries_;
57 }; 59 };
58 60
59 } // namespace net 61 } // namespace net
60 62
61 #endif // NET_FTP_FTP_AUTH_CACHE_H_ 63 #endif // NET_FTP_FTP_AUTH_CACHE_H_
OLDNEW
« no previous file with comments | « net/filter/sdch_filter_unittest.cc ('k') | net/ftp/ftp_ctrl_response_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698