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

Unified Diff: chrome/browser/io_thread.h

Issue 11419243: Add a InitializeNetworkSessionParams method IOThread to remove duplicate code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove old TODO Created 8 years, 1 month 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 | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index de61126a3955a407e8353be7a420a82da74d5f5a..13530465a9f6ae6a970f228c60d1fa4afb5ccb7f 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -17,6 +17,7 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/browser_thread_delegate.h"
#include "net/base/network_change_notifier.h"
+#include "net/http/http_network_session.h"
class ChromeNetLog;
class CommandLine;
@@ -82,6 +83,9 @@ class IOThread : public content::BrowserThreadDelegate {
Globals();
~Globals();
+ void InitializeNetworkSessionParams(
+ net::HttpNetworkSession::Params* params) const;
Ryan Sleevi 2012/11/30 00:10:05 Globals is already a public object, so is there a
Ryan Hamilton 2012/11/30 00:17:59 I would only expect the .cc file to call this meth
+
// The "system" NetworkDelegate, used for Profile-agnostic network events.
scoped_ptr<net::NetworkDelegate> system_network_delegate;
scoped_ptr<net::HostResolver> host_resolver;
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698