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

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

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_SESSION_KEY_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_KEY_H_
6 #define NET_SPDY_SPDY_SESSION_KEY_H_ 6 #define NET_SPDY_SPDY_SESSION_KEY_H_
7 7
8 #include "net/base/privacy_mode.h" 8 #include "net/base/privacy_mode.h"
9 #include "net/proxy/proxy_server.h" 9 #include "net/proxy/proxy_server.h"
10 10
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 36
37 const HostPortPair& host_port_pair() const { 37 const HostPortPair& host_port_pair() const {
38 return host_port_proxy_pair_.first; 38 return host_port_proxy_pair_.first;
39 } 39 }
40 40
41 const ProxyServer& proxy_server() const { 41 const ProxyServer& proxy_server() const {
42 return host_port_proxy_pair_.second; 42 return host_port_proxy_pair_.second;
43 } 43 }
44 44
45 PrivacyMode privacy_mode() const { 45 PrivacyMode privacy_mode() const { return privacy_mode_; }
46 return privacy_mode_;
47 }
48 46
49 private: 47 private:
50 HostPortProxyPair host_port_proxy_pair_; 48 HostPortProxyPair host_port_proxy_pair_;
51 // If enabled, then session cannot be tracked by the server. 49 // If enabled, then session cannot be tracked by the server.
52 PrivacyMode privacy_mode_; 50 PrivacyMode privacy_mode_;
53 }; 51 };
54 52
55 } // namespace net 53 } // namespace net
56 54
57 #endif // NET_SPDY_SPDY_SESSION_KEY_H_ 55 #endif // NET_SPDY_SPDY_SESSION_KEY_H_
58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698