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

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

Issue 17034006: Add base namespace to more values in sync and elsewhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/dns/dns_transaction.cc ('k') | net/url_request/url_request_netlog_params.cc » ('j') | 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) 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 #include "net/spdy/spdy_session.h" 5 #include "net/spdy/spdy_session.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 base::DictionaryValue* dict = new base::DictionaryValue(); 162 base::DictionaryValue* dict = new base::DictionaryValue();
163 dict->SetInteger("stream_id", static_cast<int>(stream_id)); 163 dict->SetInteger("stream_id", static_cast<int>(stream_id));
164 dict->SetInteger("delta", delta); 164 dict->SetInteger("delta", delta);
165 return dict; 165 return dict;
166 } 166 }
167 167
168 base::Value* NetLogSpdySessionWindowUpdateCallback( 168 base::Value* NetLogSpdySessionWindowUpdateCallback(
169 int32 delta, 169 int32 delta,
170 int32 window_size, 170 int32 window_size,
171 NetLog::LogLevel /* log_level */) { 171 NetLog::LogLevel /* log_level */) {
172 DictionaryValue* dict = new DictionaryValue(); 172 base::DictionaryValue* dict = new base::DictionaryValue();
173 dict->SetInteger("delta", delta); 173 dict->SetInteger("delta", delta);
174 dict->SetInteger("window_size", window_size); 174 dict->SetInteger("window_size", window_size);
175 return dict; 175 return dict;
176 } 176 }
177 177
178 base::Value* NetLogSpdyDataCallback(SpdyStreamId stream_id, 178 base::Value* NetLogSpdyDataCallback(SpdyStreamId stream_id,
179 int size, 179 int size,
180 bool fin, 180 bool fin,
181 NetLog::LogLevel /* log_level */) { 181 NetLog::LogLevel /* log_level */) {
182 base::DictionaryValue* dict = new base::DictionaryValue(); 182 base::DictionaryValue* dict = new base::DictionaryValue();
(...skipping 2275 matching lines...) Expand 10 before | Expand all | Expand 10 after
2458 if (!queue->empty()) { 2458 if (!queue->empty()) {
2459 SpdyStreamId stream_id = queue->front(); 2459 SpdyStreamId stream_id = queue->front();
2460 queue->pop_front(); 2460 queue->pop_front();
2461 return stream_id; 2461 return stream_id;
2462 } 2462 }
2463 } 2463 }
2464 return 0; 2464 return 0;
2465 } 2465 }
2466 2466
2467 } // namespace net 2467 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/dns_transaction.cc ('k') | net/url_request/url_request_netlog_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698