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

Side by Side Diff: net/base/sdch_net_log_params.h

Issue 1135373002: Updated NetLog::ParametersCallback & all related calbacks returning value as scoped_ptr<base::Value… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « net/base/address_list.cc ('k') | net/base/sdch_net_log_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 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_BASE_SDCH_NET_LOG_PARAMS_H_ 5 #ifndef NET_BASE_SDCH_NET_LOG_PARAMS_H_
6 #define NET_BASE_SDCH_NET_LOG_PARAMS_H_ 6 #define NET_BASE_SDCH_NET_LOG_PARAMS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 #include "net/base/sdch_problem_codes.h" 11 #include "net/base/sdch_problem_codes.h"
12 #include "net/log/net_log.h" 12 #include "net/log/net_log.h"
13 13
14 class GURL; 14 class GURL;
15 15
16 namespace net { 16 namespace net {
17 17
18 NET_EXPORT base::Value* NetLogSdchResourceProblemCallback( 18 NET_EXPORT scoped_ptr<base::Value> NetLogSdchResourceProblemCallback(
19 SdchProblemCode problem, 19 SdchProblemCode problem,
20 NetLogCaptureMode capture_mode); 20 NetLogCaptureMode capture_mode);
21 21
22 // If |is_error| is false, "net_error" field won't be added to the JSON and the 22 // If |is_error| is false, "net_error" field won't be added to the JSON and the
23 // event won't be painted red in the netlog. 23 // event won't be painted red in the netlog.
24 NET_EXPORT base::Value* NetLogSdchDictionaryFetchProblemCallback( 24 NET_EXPORT scoped_ptr<base::Value> NetLogSdchDictionaryFetchProblemCallback(
25 SdchProblemCode problem, 25 SdchProblemCode problem,
26 const GURL& url, 26 const GURL& url,
27 bool is_error, 27 bool is_error,
28 NetLogCaptureMode capture_mode); 28 NetLogCaptureMode capture_mode);
29 29
30 } // namespace net 30 } // namespace net
31 31
32 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_ 32 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_
OLDNEW
« no previous file with comments | « net/base/address_list.cc ('k') | net/base/sdch_net_log_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698