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

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: 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..fd99de7d3bb6ea0aaaf30568e763e59816cc3a5a
--- /dev/null
+++ b/chrome/browser/chromeos/login/signin_specifics.h
@@ -0,0 +1,26 @@
+// 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>
+
+#include "chrome/browser/chromeos/login/auth/key.h"
Nikita (slow) 2014/06/06 14:49:47 nit: Both includes are not needed.
Denis Kuznetsov (DE-MUC) 2014/06/06 15:18:42 Done.
+#include "chrome/browser/chromeos/login/users/user.h"
+
+namespace chromeos {
+
+// This structure encapsulates some specific parameters of signin flows that are
+// not
+// general enough to be put to UserContext.
+struct SigninSpecifics {
+ SigninSpecifics();
+ std::string guest_mode_url;
Nikita (slow) 2014/06/06 14:49:47 Were you planning to use guest_mode_url in this CL
Denis Kuznetsov (DE-MUC) 2014/06/06 15:18:42 Added accepting parameters. I will set this parame
+ bool kiosk_diagnostic_mode;
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SPECIFICS_H_

Powered by Google App Engine
This is Rietveld 408576698