summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_browser_context.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-13 17:23:26 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-13 17:23:26 +0000
commit7134b1ff692fc6c57c71dd0eaedabc8db0ec792b (patch)
tree2b0bb156cb205d94a2c1ae562d17f89698b1d707 /content/shell/shell_browser_context.cc
parent9cdaf7474c46f9a01fd7d28260a3c6d789aa6847 (diff)
downloadchromium_src-7134b1ff692fc6c57c71dd0eaedabc8db0ec792b.zip
chromium_src-7134b1ff692fc6c57c71dd0eaedabc8db0ec792b.tar.gz
chromium_src-7134b1ff692fc6c57c71dd0eaedabc8db0ec792b.tar.bz2
Remove ssl_host_state.h dependency from chrome.
I suspect there'll be a few objects that hang off BrowserContext/ResourceContext which are per profile that we don't want chrome to know about or even to create. For now, I did a one-off by manually keeping a map and deleting it when the BrowserContext goes away. If we hit others, we can generalize this into a template, perhaps like RenderViewHostObserverTracker. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9384029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121706 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_browser_context.cc')
-rw-r--r--content/shell/shell_browser_context.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc
index e4200c9..cd47383 100644
--- a/content/shell/shell_browser_context.cc
+++ b/content/shell/shell_browser_context.cc
@@ -16,7 +16,6 @@
#include "content/browser/file_system/browser_file_system_helper.h"
#include "content/browser/host_zoom_map_impl.h"
#include "content/browser/in_process_webkit/webkit_context.h"
-#include "content/browser/ssl/ssl_host_state.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/geolocation_permission_context.h"
#include "content/public/browser/speech_input_preferences.h"
@@ -129,12 +128,6 @@ bool ShellBrowserContext::IsOffTheRecord() {
return false;
}
-SSLHostState* ShellBrowserContext::GetSSLHostState() {
- if (!ssl_host_state_.get())
- ssl_host_state_.reset(new SSLHostState());
- return ssl_host_state_.get();
-}
-
DownloadManager* ShellBrowserContext::GetDownloadManager() {
if (!download_manager_.get()) {
download_manager_delegate_ = new ShellDownloadManagerDelegate();