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

Unified Diff: chrome/browser/chromeos/login/signin_specifics.h

Issue 324463003: ChromeOS login webui refactoring : Simplify login methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge with ToT Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/signin_specifics.h
diff --git a/chrome/browser/chromeos/login/signin_specifics.h b/chrome/browser/chromeos/login/signin_specifics.h
new file mode 100644
index 0000000000000000000000000000000000000000..da1014f5abfd41e80be4b1442c577e2f9d36a1ed
--- /dev/null
+++ b/chrome/browser/chromeos/login/signin_specifics.h
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
+#define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
+
+#include <string>
+
+namespace chromeos {
+
+// This structure encapsulates some specific parameters of signin flows that are
+// not
+// general enough to be put to UserContext.
+struct SigninSpecifics {
+ SigninSpecifics();
+
+ // Specifies url that should be shown during Guest signin.
+ std::string guest_mode_url;
+
+ // Specifies if locale should be passed to guest mode url.
+ bool guest_mode_url_append_locale;
+
+ // Controls diagnostic mode for Kiosk App signin.
+ bool kiosk_diagnostic_mode;
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_
« no previous file with comments | « chrome/browser/chromeos/login/signin/oauth2_browsertest.cc ('k') | chrome/browser/chromeos/login/signin_specifics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698