summaryrefslogtreecommitdiffstats
path: root/net/http/http_server_properties_impl.cc
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 21:13:09 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 21:13:09 +0000
commit6dd1134ebf789b23d79c2ff09126fbf82e9d4d68 (patch)
treeba1c0773c5de4d4a34f543d3e8791ac4ccbb3a07 /net/http/http_server_properties_impl.cc
parentcdcce8de8d45bfffd66f1e8cdca9ec5da906e6f2 (diff)
downloadchromium_src-6dd1134ebf789b23d79c2ff09126fbf82e9d4d68.zip
chromium_src-6dd1134ebf789b23d79c2ff09126fbf82e9d4d68.tar.gz
chromium_src-6dd1134ebf789b23d79c2ff09126fbf82e9d4d68.tar.bz2
SPDY: Respect SETTINGS_FLAG_CLEAR_PREVIOUSLY_PERSISTED_SETTINGS.
- Added ClearSpdySettings API call to clear the persisted SPDY setting data for a given host. SpdySession's OnSettings API calls this method to clear the persisted data. - ClearAllSpdySettings clears all the persisted data. - Add SpdyFramerVisitorInterface::OnSettings(). No behavioral change (no compiled change) outside tests. Merge internal change: 45922004 R=rch@chromium.org TEST=net unit tests and browser unit tests BUG=235737 Review URL: https://chromiumcodereview.appspot.com/14583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197469 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_server_properties_impl.cc')
-rw-r--r--net/http/http_server_properties_impl.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/http/http_server_properties_impl.cc b/net/http/http_server_properties_impl.cc
index 32f0694..ee9aede 100644
--- a/net/http/http_server_properties_impl.cc
+++ b/net/http/http_server_properties_impl.cc
@@ -244,7 +244,12 @@ bool HttpServerPropertiesImpl::SetSpdySetting(
return true;
}
-void HttpServerPropertiesImpl::ClearSpdySettings() {
+void HttpServerPropertiesImpl::ClearSpdySettings(
+ const HostPortPair& host_port_pair) {
+ spdy_settings_map_.erase(host_port_pair);
+}
+
+void HttpServerPropertiesImpl::ClearAllSpdySettings() {
spdy_settings_map_.clear();
}