Home | History | Annotate | Download | only in login
      1 // Copyright 2014 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
      6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
      7 
      8 #include <string>
      9 
     10 namespace chromeos {
     11 
     12 // This structure encapsulates some specific parameters of signin flows that are
     13 // not
     14 // general enough to be put to UserContext.
     15 struct SigninSpecifics {
     16   SigninSpecifics();
     17 
     18   // Specifies url that should be shown during Guest signin.
     19   std::string guest_mode_url;
     20 
     21   // Specifies if locale should be passed to guest mode url.
     22   bool guest_mode_url_append_locale;
     23 
     24   // Controls diagnostic mode for Kiosk App signin.
     25   bool kiosk_diagnostic_mode;
     26 };
     27 
     28 }  // namespace chromeos
     29 
     30 #endif  // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
     31