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

Side by Side Diff: net/http/http_server_properties_manager.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MANAGER_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // Used to get |weak_ptr_| to self on the network thread. 268 // Used to get |weak_ptr_| to self on the network thread.
269 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > 269 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> >
270 network_weak_ptr_factory_; 270 network_weak_ptr_factory_;
271 271
272 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 272 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
273 }; 273 };
274 274
275 } // namespace net 275 } // namespace net
276 276
277 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 277 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698