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

Unified Diff: chrome/browser/sync/glue/http_bridge.cc

Issue 2860008: Add sync requests to NetLog. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Merge. Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/http_bridge.cc
diff --git a/chrome/browser/sync/glue/http_bridge.cc b/chrome/browser/sync/glue/http_bridge.cc
index 7e0f9df8bafb5ce64466a928f647c53d7097fe83..b0ad53a43aeb9bc1c8831ac893e4e7ac16fa4a0f 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() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698