diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-04 02:26:36 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-04 02:26:36 +0000 |
commit | 2ca1ea66c938dd34c25e3cafe9cdfc46cdd50881 (patch) | |
tree | d1f83644dd7f5c4e59304c5286f509eb1d8c46cb /chrome/browser/profiles/profile.h | |
parent | b68232832acde42bf3835dae286870c57ba1c6f7 (diff) | |
download | chromium_src-2ca1ea66c938dd34c25e3cafe9cdfc46cdd50881.zip chromium_src-2ca1ea66c938dd34c25e3cafe9cdfc46cdd50881.tar.gz chromium_src-2ca1ea66c938dd34c25e3cafe9cdfc46cdd50881.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/profiles/profile.h')
-rw-r--r-- | chrome/browser/profiles/profile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h index 3e3688d..2d8f8f3 100644 --- a/chrome/browser/profiles/profile.h +++ b/chrome/browser/profiles/profile.h @@ -339,6 +339,9 @@ class Profile : public content::BrowserContext { return restored_last_session_; } + // Returns true if the last time this profile was open it was exited cleanly. + virtual bool DidLastSessionExitCleanly() = 0; + // Stop sending accessibility events until ResumeAccessibilityEvents(). // Calls to Pause nest; no events will be sent until the number of // Resume calls matches the number of Pause calls received. |