Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: chrome/browser/chromeos/login/signin_specifics.h

Issue 2692163003: cros: Add enterprise user session metrics (Closed)
Patch Set: fix crash on browser exit w/o login Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 // This structure encapsulates some specific parameters of signin flows that are 12 // This structure encapsulates some specific parameters of signin flows that are
13 // not 13 // not
14 // general enough to be put to UserContext. 14 // general enough to be put to UserContext.
15 struct SigninSpecifics { 15 struct SigninSpecifics {
16 SigninSpecifics(); 16 SigninSpecifics();
achuithb 2017/02/15 10:54:57 You should be able to drop this and delete the .cc
xiyuan 2017/02/15 19:08:10 Done.
17 17
18 // Specifies url that should be shown during Guest signin. 18 // Specifies url that should be shown during Guest signin.
19 std::string guest_mode_url; 19 std::string guest_mode_url;
20 20
21 // Specifies if locale should be passed to guest mode url. 21 // Specifies if locale should be passed to guest mode url.
22 bool guest_mode_url_append_locale; 22 bool guest_mode_url_append_locale = false;
23 23
24 // Controls diagnostic mode for Kiosk App signin. 24 // Controls diagnostic mode for Kiosk App signin.
25 bool kiosk_diagnostic_mode; 25 bool kiosk_diagnostic_mode = false;
26
27 // Whether it is an automatic login.
28 bool is_auto_login = false;
26 }; 29 };
27 30
28 } // namespace chromeos 31 } // namespace chromeos
29 32
30 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ 33 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698