Index: ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h |
diff --git a/ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h b/ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h |
index db0772fbc57d21cdedd8ad0eafc542d3c4d795dc..5a8b084ae61fd39647b590f9f22a646dd096afc9 100644 |
--- a/ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h |
+++ b/ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h |
@@ -31,11 +31,6 @@ namespace ios { |
// This class is a Chrome-specific extension of the BrowserState interface. |
class ChromeBrowserState : public web::BrowserState { |
public: |
- enum ExitType { |
- EXIT_NORMAL, |
- EXIT_CRASHED, |
- }; |
- |
~ChromeBrowserState() override {} |
// Returns the ChromeBrowserState corresponding to the given BrowserState. |
@@ -75,18 +70,6 @@ class ChromeBrowserState : public web::BrowserState { |
// a syncable_prefs::PrefServiceSyncable. |
virtual syncable_prefs::PrefServiceSyncable* GetSyncablePrefs() = 0; |
- // Sets the ExitType for the ChromeBrowserState. This may be invoked multiple |
- // times during shutdown; only the first such change (the transition from |
- // EXIT_CRASHED to one of the other values) is written to prefs, any later |
- // calls are ignored. |
- // |
- // NOTE: this is invoked internally on a normal shutdown, but is public so |
- // that it can be invoked to handle backgrounding/foregrounding. |
- virtual void SetExitType(ExitType exit_type) = 0; |
- |
- // Returns how the last session was shutdown. |
- virtual ExitType GetLastSessionExitType() = 0; |
- |
// Deletes all network related data since |time|. It deletes transport |
// security state since |time| and it also deletes HttpServerProperties data. |
// Works asynchronously, however if the |completion| callback is non-null, it |