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

Unified Diff: chrome/browser/policy/device_management_service.cc

Issue 6402002: Simplify HttpCache/HttpNetworkLayer/HttpNetworkSession interaction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 9 years, 11 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 | « chrome/browser/net/connection_tester_unittest.cc ('k') | chrome/browser/sync/glue/http_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/device_management_service.cc
diff --git a/chrome/browser/policy/device_management_service.cc b/chrome/browser/policy/device_management_service.cc
index e29d21aa4380135b8b8e62610b91961eb6b3e516..a2f6bc7db7b1c0f1ab5dd344f27c55e52999f8be 100644
--- a/chrome/browser/policy/device_management_service.cc
+++ b/chrome/browser/policy/device_management_service.cc
@@ -48,8 +48,9 @@ DeviceManagementRequestContext::DeviceManagementRequestContext(
ssl_config_service_ = base_context->ssl_config_service();
// Share the http session.
- http_transaction_factory_ = net::HttpNetworkLayer::CreateFactory(
- base_context->http_transaction_factory()->GetSession());
+ http_transaction_factory_ =
+ new net::HttpNetworkLayer(
+ base_context->http_transaction_factory()->GetSession());
// No cookies, please.
cookie_store_ = new net::CookieMonster(NULL, NULL);
« no previous file with comments | « chrome/browser/net/connection_tester_unittest.cc ('k') | chrome/browser/sync/glue/http_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698