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

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

Issue 1156563004: Convert bare pointer to scoped_ptr in net/http (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated Review comments Created 5 years, 6 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) 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_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void MarkAlternativeServiceRecentlyBroken( 95 void MarkAlternativeServiceRecentlyBroken(
96 const AlternativeService& alternative_service) override; 96 const AlternativeService& alternative_service) override;
97 bool IsAlternativeServiceBroken( 97 bool IsAlternativeServiceBroken(
98 const AlternativeService& alternative_service) const override; 98 const AlternativeService& alternative_service) const override;
99 bool WasAlternativeServiceRecentlyBroken( 99 bool WasAlternativeServiceRecentlyBroken(
100 const AlternativeService& alternative_service) override; 100 const AlternativeService& alternative_service) override;
101 void ConfirmAlternativeService( 101 void ConfirmAlternativeService(
102 const AlternativeService& alternative_service) override; 102 const AlternativeService& alternative_service) override;
103 void ClearAlternativeService(const HostPortPair& origin) override; 103 void ClearAlternativeService(const HostPortPair& origin) override;
104 const AlternativeServiceMap& alternative_service_map() const override; 104 const AlternativeServiceMap& alternative_service_map() const override;
105 base::Value* GetAlternativeServiceInfoAsValue() const override; 105 scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const override;
106 void SetAlternativeServiceProbabilityThreshold(double threshold) override; 106 void SetAlternativeServiceProbabilityThreshold(double threshold) override;
107 const SettingsMap& GetSpdySettings( 107 const SettingsMap& GetSpdySettings(
108 const HostPortPair& host_port_pair) override; 108 const HostPortPair& host_port_pair) override;
109 bool SetSpdySetting(const HostPortPair& host_port_pair, 109 bool SetSpdySetting(const HostPortPair& host_port_pair,
110 SpdySettingsIds id, 110 SpdySettingsIds id,
111 SpdySettingsFlags flags, 111 SpdySettingsFlags flags,
112 uint32 value) override; 112 uint32 value) override;
113 void ClearSpdySettings(const HostPortPair& host_port_pair) override; 113 void ClearSpdySettings(const HostPortPair& host_port_pair) override;
114 void ClearAllSpdySettings() override; 114 void ClearAllSpdySettings() override;
115 const SpdySettingsMap& spdy_settings_map() const override; 115 const SpdySettingsMap& spdy_settings_map() const override;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 double alternative_service_probability_threshold_; 173 double alternative_service_probability_threshold_;
174 174
175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; 175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
178 }; 178 };
179 179
180 } // namespace net 180 } // namespace net
181 181
182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698