summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 00:38:25 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 00:38:25 +0000
commitd3c0fe8bb3b20f03eaa7535daeddc15e83e9cea6 (patch)
tree4acbf33c522f0f60854c826651191afba3fd3cd1 /net/base
parenta02c37666ea431312f25cc8f5b98a895c4db4fd7 (diff)
downloadchromium_src-d3c0fe8bb3b20f03eaa7535daeddc15e83e9cea6.zip
chromium_src-d3c0fe8bb3b20f03eaa7535daeddc15e83e9cea6.tar.gz
chromium_src-d3c0fe8bb3b20f03eaa7535daeddc15e83e9cea6.tar.bz2
Move some logging from LOG(INFO) to the LoadLog. These particular ones are for proxy initialization, and are enabled in passive mode since the data will be little.
Review URL: http://codereview.chromium.org/501162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/load_log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/load_log.h b/net/base/load_log.h
index 8553f8b..4ac40b5 100644
--- a/net/base/load_log.h
+++ b/net/base/load_log.h
@@ -137,6 +137,11 @@ class LoadLog : public base::RefCountedThreadSafe<LoadLog> {
log->Add(Entry(base::TimeTicks::Now(), literal));
}
+ static void AddString(LoadLog* log, const std::string& string) {
+ if (log)
+ log->Add(Entry(base::TimeTicks::Now(), string));
+ }
+
// --------------------------------------------------------------------------
// Returns the list of all entries in the log.