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

Side by Side Diff: net/spdy/spdy_settings_storage.cc

Issue 7046016: I added a function "void SpdySettingsStorage::Clear()". I added a call to this function "spdy_set... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « net/spdy/spdy_settings_storage.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "net/spdy/spdy_settings_storage.h" 5 #include "net/spdy/spdy_settings_storage.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 namespace net { 9 namespace net {
10 10
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 } 40 }
41 41
42 // If we didn't persist anything, then we are done. 42 // If we didn't persist anything, then we are done.
43 if (persistent_settings.empty()) 43 if (persistent_settings.empty())
44 return; 44 return;
45 45
46 settings_map_[host_port_pair] = persistent_settings; 46 settings_map_[host_port_pair] = persistent_settings;
47 } 47 }
48 48
49 void SpdySettingsStorage::Clear() {
50 settings_map_.clear();
51 }
52
49 } // namespace net 53 } // namespace net
50 54
OLDNEW
« no previous file with comments | « net/spdy/spdy_settings_storage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698