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

Side by Side Diff: net/log/net_log_parameters_callback.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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_LOG_NET_LOG_PARAMETERS_CALLBACK_H_
6 #define NET_LOG_NET_LOG_PARAMETERS_CALLBACK_H_
7
8 #include <memory>
9
10 #include "base/callback_forward.h"
11 #include "net/log/net_log_capture_mode.h"
12
13 namespace base {
14 class Value;
15 }
16
17 namespace net {
18
19 // A callback that returns a Value representation of the parameters
20 // associated with an event. If called, it will be called synchronously,
21 // so it need not have owning references. May be called more than once, or
22 // not at all. May return nullptr.
23 typedef base::Callback<std::unique_ptr<base::Value>(NetLogCaptureMode)>
24 NetLogParametersCallback;
25
26 } // namespace net
27
28 #endif // NET_LOG_NET_LOG_PARAMETERS_CALLBACK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698