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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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
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 <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
11 #include "net/base/sdch_problem_codes.h" 12 #include "net/base/sdch_problem_codes.h"
12 #include "net/log/net_log.h"
13 13
14 class GURL; 14 class GURL;
15 15
16 namespace base {
17 class Value;
18 }
19
16 namespace net { 20 namespace net {
17 21
22 class NetLogCaptureMode;
23
18 NET_EXPORT std::unique_ptr<base::Value> NetLogSdchResourceProblemCallback( 24 NET_EXPORT std::unique_ptr<base::Value> NetLogSdchResourceProblemCallback(
19 SdchProblemCode problem, 25 SdchProblemCode problem,
20 NetLogCaptureMode capture_mode); 26 NetLogCaptureMode capture_mode);
21 27
22 // If |is_error| is false, "net_error" field won't be added to the JSON and the 28 // 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. 29 // event won't be painted red in the netlog.
24 NET_EXPORT std::unique_ptr<base::Value> 30 NET_EXPORT std::unique_ptr<base::Value>
25 NetLogSdchDictionaryFetchProblemCallback(SdchProblemCode problem, 31 NetLogSdchDictionaryFetchProblemCallback(SdchProblemCode problem,
26 const GURL& url, 32 const GURL& url,
27 bool is_error, 33 bool is_error,
28 NetLogCaptureMode capture_mode); 34 NetLogCaptureMode capture_mode);
29 35
30 } // namespace net 36 } // namespace net
31 37
32 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_ 38 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698