diff options
author | eustas@chromium.org <eustas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-19 13:28:55 +0000 |
---|---|---|
committer | eustas@chromium.org <eustas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-19 13:30:35 +0000 |
commit | 770eb4b63f90b568b8a255a94b3c74941429ba70 (patch) | |
tree | b1644cd99b8cab432ed12e8eaf6bfc825488594d /chrome/browser/profiles/profile_io_data.h | |
parent | ac58eaf7ea3d6cfc44f9c42a39f59af66b9ebc5c (diff) | |
download | chromium_src-770eb4b63f90b568b8a255a94b3c74941429ba70.zip chromium_src-770eb4b63f90b568b8a255a94b3c74941429ba70.tar.gz chromium_src-770eb4b63f90b568b8a255a94b3c74941429ba70.tar.bz2 |
Invalidate ChromeURLRequestContextGetters on IO thread.
BUG=401728
Review URL: https://codereview.chromium.org/456303002
Cr-Commit-Position: refs/heads/master@{#290548}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_io_data.h')
-rw-r--r-- | chrome/browser/profiles/profile_io_data.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h index b6e74ff..eed446e 100644 --- a/chrome/browser/profiles/profile_io_data.h +++ b/chrome/browser/profiles/profile_io_data.h @@ -7,6 +7,7 @@ #include <map> #include <string> +#include <vector> #include "base/basictypes.h" #include "base/callback_forward.h" @@ -32,6 +33,7 @@ class ChromeHttpUserAgentSettings; class ChromeNetworkDelegate; +class ChromeURLRequestContextGetter; class CookieSettings; class DevToolsNetworkController; class HostContentSettingsMap; @@ -76,6 +78,9 @@ class PrerenderTracker; // possibly in unit tests where there is no IO thread). class ProfileIOData { public: + typedef std::vector<scoped_refptr<ChromeURLRequestContextGetter>> + ChromeURLRequestContextGetterVector; + virtual ~ProfileIOData(); static ProfileIOData* FromResourceContext(content::ResourceContext* rc); @@ -355,7 +360,8 @@ class ProfileIOData { net::FtpTransactionFactory* ftp_transaction_factory) const; // Called when the profile is destroyed. - void ShutdownOnUIThread(); + void ShutdownOnUIThread( + scoped_ptr<ChromeURLRequestContextGetterVector> context_getters); // A ChannelIDService object is created by a derived class of // ProfileIOData, and the derived class calls this method to set the |