summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 21:58:37 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 21:58:37 +0000
commit74af19b7349d60d45b2993cd5efb399c69afdd8c (patch)
treeb67924a4e17180b7e75007cea35b067f175d131a
parentc15a73c90c9e8c9c39faefc455378649c9c415e7 (diff)
downloadchromium_src-74af19b7349d60d45b2993cd5efb399c69afdd8c.zip
chromium_src-74af19b7349d60d45b2993cd5efb399c69afdd8c.tar.gz
chromium_src-74af19b7349d60d45b2993cd5efb399c69afdd8c.tar.bz2
Add sync requests to NetLog.
BUG=46598,42695 Review URL: http://codereview.chromium.org/2860008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50143 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/sync/glue/http_bridge.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/sync/glue/http_bridge.cc b/chrome/browser/sync/glue/http_bridge.cc
index 7e0f9df..b0ad53a 100644
--- a/chrome/browser/sync/glue/http_bridge.cc
+++ b/chrome/browser/sync/glue/http_bridge.cc
@@ -101,6 +101,8 @@ HttpBridge::RequestContext::RequestContext(URLRequestContext* baseline_context)
// We default to the browser's user agent. This can (and should) be overridden
// with set_user_agent.
user_agent_ = webkit_glue::GetUserAgent(GURL());
+
+ net_log_ = baseline_context->net_log();
}
HttpBridge::RequestContext::~RequestContext() {