Index: net/base/net_log.h |
=================================================================== |
--- net/base/net_log.h (revision 142108) |
+++ net/base/net_log.h (working copy) |
@@ -300,6 +300,12 @@ |
// Warning: |name| must remain valid for the life of the callback. |
static ParametersCallback IntegerCallback(const char* name, int value); |
eroman
2012/06/14 18:04:31
We may want to add a todo to rename this to Int32C
mmenke
2012/06/14 18:49:42
TODO added.
|
+ // Creates a ParametersCallback that encapsulates a single int64. The |
+ // callback will return the value as a StringValue, since IntegerValues |
+ // only support 32-bit values. |
+ // Warning: |name| must remain valid for the life of the callback. |
+ static ParametersCallback Int64Callback(const char* name, int64 value); |
+ |
// Creates a ParametersCallback that encapsulates a single UTF8 string. Takes |
// |value| as a pointer to avoid copying, and emphasize it must be valid for |
// the life of the callback. |value| may not be NULL. |