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

Side by Side Diff: net/base/file_stream_net_log_parameters.cc

Issue 15662008: Make net and ipc explicitly use the base namespace for Values. (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/base/capturing_net_log.cc ('k') | net/base/net_log.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/base/file_stream_net_log_parameters.h" 5 #include "net/base/file_stream_net_log_parameters.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 base::Value* NetLogFileStreamErrorCallback( 11 base::Value* NetLogFileStreamErrorCallback(
12 FileErrorSource source, 12 FileErrorSource source,
13 int os_error, 13 int os_error,
14 net::Error net_error, 14 net::Error net_error,
15 NetLog::LogLevel /* log_level */) { 15 NetLog::LogLevel /* log_level */) {
16 DictionaryValue* dict = new DictionaryValue(); 16 base::DictionaryValue* dict = new base::DictionaryValue();
17 17
18 dict->SetString("operation", GetFileErrorSourceName(source)); 18 dict->SetString("operation", GetFileErrorSourceName(source));
19 dict->SetInteger("os_error", os_error); 19 dict->SetInteger("os_error", os_error);
20 dict->SetInteger("net_error", net_error); 20 dict->SetInteger("net_error", net_error);
21 21
22 return dict; 22 return dict;
23 } 23 }
24 24
25 } // namespace net 25 } // namespace net
OLDNEW
« no previous file with comments | « net/base/capturing_net_log.cc ('k') | net/base/net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698