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

Side by Side Diff: net/spdy/spdy_credential_state.h

Issue 6362186595172352: net: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and revert nss_ocsp.cc changes Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « net/socket_stream/socket_stream_metrics_unittest.cc ('k') | net/spdy/spdy_http_utils.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 #ifndef NET_SPDY_SPDY_CREDENTIAL_STATE_H_ 5 #ifndef NET_SPDY_SPDY_CREDENTIAL_STATE_H_
6 #define NET_SPDY_SPDY_CREDENTIAL_STATE_H_ 6 #define NET_SPDY_SPDY_CREDENTIAL_STATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "googleurl/src/gurl.h"
11 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 #include "url/gurl.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 // A class for tracking the credentials associated with a SPDY session. 15 // A class for tracking the credentials associated with a SPDY session.
16 class NET_EXPORT_PRIVATE SpdyCredentialState { 16 class NET_EXPORT_PRIVATE SpdyCredentialState {
17 public: 17 public:
18 explicit SpdyCredentialState(size_t num_slots); 18 explicit SpdyCredentialState(size_t num_slots);
19 ~SpdyCredentialState(); 19 ~SpdyCredentialState();
20 20
21 // Changes the number of credentials being tracked. If the new size is 21 // Changes the number of credentials being tracked. If the new size is
(...skipping 25 matching lines...) Expand all
47 private: 47 private:
48 // Vector of origins that have credentials. 48 // Vector of origins that have credentials.
49 std::vector<GURL> slots_; 49 std::vector<GURL> slots_;
50 // Index of the last origin added to |slots_|. 50 // Index of the last origin added to |slots_|.
51 size_t last_added_; 51 size_t last_added_;
52 }; 52 };
53 53
54 } // namespace net 54 } // namespace net
55 55
56 #endif // NET_SPDY_SPDY_CREDENTIAL_STATE_H_ 56 #endif // NET_SPDY_SPDY_CREDENTIAL_STATE_H_
OLDNEW
« no previous file with comments | « net/socket_stream/socket_stream_metrics_unittest.cc ('k') | net/spdy/spdy_http_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698