Index: chrome/browser/chromeos/login/user_flow.h |
diff --git a/chrome/browser/chromeos/login/user_flow.h b/chrome/browser/chromeos/login/user_flow.h |
index 04552294dfff3f2741f69a4571653940c5bd463f..4056770f46c9ce5a8fbf33e1c23a38a04450c3ee 100644 |
--- a/chrome/browser/chromeos/login/user_flow.h |
+++ b/chrome/browser/chromeos/login/user_flow.h |
@@ -21,8 +21,13 @@ class UserFlow { |
public: |
UserFlow(); |
virtual ~UserFlow() = 0; |
+ |
+ // Provides ability to alter command line before session has started. |
+ virtual void AppendAdditionalCommandLineSwitches() = 0; |
+ |
// Indicates if screen locking should be enabled or disabled for a flow. |
virtual bool CanLockScreen() = 0; |
+ |
Denis Kuznetsov (DE-MUC)
2014/10/16 12:21:42
Do we need empty line here?
Nikita (slow)
2014/10/17 13:17:41
Done.
|
virtual bool ShouldShowSettings() = 0; |
virtual bool ShouldLaunchBrowser() = 0; |
virtual bool ShouldSkipPostLoginScreens() = 0; |
@@ -50,6 +55,7 @@ class DefaultUserFlow : public UserFlow { |
public: |
virtual ~DefaultUserFlow(); |
+ virtual void AppendAdditionalCommandLineSwitches() override; |
virtual bool CanLockScreen() override; |
virtual bool ShouldShowSettings() override; |
virtual bool ShouldLaunchBrowser() override; |
@@ -68,7 +74,10 @@ class ExtendedUserFlow : public UserFlow { |
explicit ExtendedUserFlow(const std::string& user_id); |
virtual ~ExtendedUserFlow(); |
+ virtual void AppendAdditionalCommandLineSwitches() override; |
virtual bool ShouldShowSettings() override; |
+ virtual void HandleOAuthTokenStatusChange( |
+ user_manager::User::OAuthTokenStatus status) override; |
protected: |
// Subclasses can call this method to unregister flow in the next event. |