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

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

Issue 2692163003: cros: Add enterprise user session metrics (Closed)
Patch Set: update sparse histogram comment 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 general enough to be put to UserContext.
14 // general enough to be put to UserContext.
15 struct SigninSpecifics { 14 struct SigninSpecifics {
16 SigninSpecifics(); 15 SigninSpecifics() {}
17 16
18 // Specifies url that should be shown during Guest signin. 17 // Specifies url that should be shown during Guest signin.
19 std::string guest_mode_url; 18 std::string guest_mode_url;
20 19
21 // Specifies if locale should be passed to guest mode url. 20 // Specifies if locale should be passed to guest mode url.
22 bool guest_mode_url_append_locale; 21 bool guest_mode_url_append_locale = false;
23 22
24 // Controls diagnostic mode for Kiosk App signin. 23 // Controls diagnostic mode for Kiosk App signin.
25 bool kiosk_diagnostic_mode; 24 bool kiosk_diagnostic_mode = false;
25
26 // Whether it is an automatic login.
27 bool is_auto_login = false;
26 }; 28 };
27 29
28 } // namespace chromeos 30 } // namespace chromeos
29 31
30 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_ 32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | chrome/browser/chromeos/login/signin_specifics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698