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

Side by Side Diff: net/http/http_server_properties_manager.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
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 <stdint.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
13 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
16 #include "base/prefs/pref_change_registrar.h" 18 #include "base/prefs/pref_change_registrar.h"
17 #include "base/timer/timer.h" 19 #include "base/timer/timer.h"
18 #include "base/values.h" 20 #include "base/values.h"
19 #include "net/base/host_port_pair.h" 21 #include "net/base/host_port_pair.h"
20 #include "net/http/http_server_properties.h" 22 #include "net/http/http_server_properties.h"
21 #include "net/http/http_server_properties_impl.h" 23 #include "net/http/http_server_properties_impl.h"
22 24
23 class PrefService; 25 class PrefService;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const AlternativeService& alternative_service) override; 111 const AlternativeService& alternative_service) override;
110 void ClearAlternativeServices(const HostPortPair& origin) override; 112 void ClearAlternativeServices(const HostPortPair& origin) override;
111 const AlternativeServiceMap& alternative_service_map() const override; 113 const AlternativeServiceMap& alternative_service_map() const override;
112 scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const override; 114 scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const override;
113 void SetAlternativeServiceProbabilityThreshold(double threshold) override; 115 void SetAlternativeServiceProbabilityThreshold(double threshold) override;
114 const SettingsMap& GetSpdySettings( 116 const SettingsMap& GetSpdySettings(
115 const HostPortPair& host_port_pair) override; 117 const HostPortPair& host_port_pair) override;
116 bool SetSpdySetting(const HostPortPair& host_port_pair, 118 bool SetSpdySetting(const HostPortPair& host_port_pair,
117 SpdySettingsIds id, 119 SpdySettingsIds id,
118 SpdySettingsFlags flags, 120 SpdySettingsFlags flags,
119 uint32 value) override; 121 uint32_t value) override;
120 void ClearSpdySettings(const HostPortPair& host_port_pair) override; 122 void ClearSpdySettings(const HostPortPair& host_port_pair) override;
121 void ClearAllSpdySettings() override; 123 void ClearAllSpdySettings() override;
122 const SpdySettingsMap& spdy_settings_map() const override; 124 const SpdySettingsMap& spdy_settings_map() const override;
123 bool GetSupportsQuic(IPAddressNumber* last_address) const override; 125 bool GetSupportsQuic(IPAddressNumber* last_address) const override;
124 void SetSupportsQuic(bool used_quic, 126 void SetSupportsQuic(bool used_quic,
125 const IPAddressNumber& last_address) override; 127 const IPAddressNumber& last_address) override;
126 void SetServerNetworkStats(const HostPortPair& host_port_pair, 128 void SetServerNetworkStats(const HostPortPair& host_port_pair,
127 ServerNetworkStats stats) override; 129 ServerNetworkStats stats) override;
128 const ServerNetworkStats* GetServerNetworkStats( 130 const ServerNetworkStats* GetServerNetworkStats(
129 const HostPortPair& host_port_pair) override; 131 const HostPortPair& host_port_pair) override;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 // Used to get |weak_ptr_| to self on the network thread. 291 // Used to get |weak_ptr_| to self on the network thread.
290 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > 292 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> >
291 network_weak_ptr_factory_; 293 network_weak_ptr_factory_;
292 294
293 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 295 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
294 }; 296 };
295 297
296 } // namespace net 298 } // namespace net
297 299
298 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 300 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties_impl_unittest.cc ('k') | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698