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

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

Issue 143463009: Add policy that forces SAML users to log in online periodically (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Speculative fix for PolicyPrefIndicatorTest.CheckPolicyIndicators/3. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_LOGIN_UTILS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 virtual ~LoginUtils() {} 55 virtual ~LoginUtils() {}
56 56
57 // Thin wrapper around StartupBrowserCreator::LaunchBrowser(). Meant to be 57 // Thin wrapper around StartupBrowserCreator::LaunchBrowser(). Meant to be
58 // used in a Task posted to the UI thread. Once the browser is launched the 58 // used in a Task posted to the UI thread. Once the browser is launched the
59 // login host is deleted. 59 // login host is deleted.
60 virtual void DoBrowserLaunch(Profile* profile, 60 virtual void DoBrowserLaunch(Profile* profile,
61 LoginDisplayHost* login_host) = 0; 61 LoginDisplayHost* login_host) = 0;
62 62
63 // Loads and prepares profile for the session. Fires |delegate| in the end. 63 // Loads and prepares profile for the session. Fires |delegate| in the end.
64 // If |pending_requests| is true, there's a pending online auth request.
65 // If |display_email| is not empty, user's displayed email will be set to 64 // If |display_email| is not empty, user's displayed email will be set to
66 // this value, shown in UI. 65 // this value, shown in UI.
67 // |user_context.username_hash| defines when user homedir is mounted. 66 // |user_context.username_hash| defines when user homedir is mounted.
68 // Also see DelegateDeleted method. 67 // Also see DelegateDeleted method.
69 // If |has_active_session| is true than this is a case of restoring user 68 // If |has_active_session| is true than this is a case of restoring user
70 // session after browser crash so no need to start new session. 69 // session after browser crash so no need to start new session.
71 virtual void PrepareProfile( 70 virtual void PrepareProfile(
72 const UserContext& user_context, 71 const UserContext& user_context,
73 const std::string& display_email, 72 const std::string& display_email,
74 bool has_cookies, 73 bool has_cookies,
(...skipping 30 matching lines...) Expand all
105 // Initialize RLZ. 104 // Initialize RLZ.
106 virtual void InitRlzDelayed(Profile* user_profile) = 0; 105 virtual void InitRlzDelayed(Profile* user_profile) = 0;
107 106
108 // Initiates process of starting CertLoader for the user_profile. 107 // Initiates process of starting CertLoader for the user_profile.
109 virtual void StartCertLoader(Profile* user_profile) = 0; 108 virtual void StartCertLoader(Profile* user_profile) = 0;
110 }; 109 };
111 110
112 } // namespace chromeos 111 } // namespace chromeos
113 112
114 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ 113 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698