From 2ca1ea66c938dd34c25e3cafe9cdfc46cdd50881 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Thu, 4 Oct 2012 02:26:36 +0000 Subject: Removes BrowserContext::DidLastSessionExitCleanly() and makes NavigationController::Restore() take an enum instead that encapsculates this. BUG=90737 TEST=none R=avi@chromium.org,sail@chromium.org Review URL: https://chromiumcodereview.appspot.com/11016038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160052 0039d316-1c4b-4281-b951-d872f2087c98 --- content/shell/shell_browser_context.cc | 4 ---- content/shell/shell_browser_context.h | 1 - 2 files changed, 5 deletions(-) (limited to 'content/shell') diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc index a5ad7af..0a66e15 100644 --- a/content/shell/shell_browser_context.cc +++ b/content/shell/shell_browser_context.cc @@ -154,10 +154,6 @@ SpeechRecognitionPreferences* return NULL; } -bool ShellBrowserContext::DidLastSessionExitCleanly() { - return true; -} - quota::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() { return NULL; } diff --git a/content/shell/shell_browser_context.h b/content/shell/shell_browser_context.h index fbcbc6e..4386a80 100644 --- a/content/shell/shell_browser_context.h +++ b/content/shell/shell_browser_context.h @@ -43,7 +43,6 @@ class ShellBrowserContext : public BrowserContext { GetGeolocationPermissionContext() OVERRIDE; virtual SpeechRecognitionPreferences* GetSpeechRecognitionPreferences() OVERRIDE; - virtual bool DidLastSessionExitCleanly() OVERRIDE; virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; private: -- cgit v1.1