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

Side by Side Diff: chrome/browser/chromeos/app_mode/kiosk_profile_loader.h

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_MODE_KIOSK_PROFILE_LOADER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_PROFILE_LOADER_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_PROFILE_LOADER_H_ 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_PROFILE_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h" 13 #include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h"
14 #include "chrome/browser/chromeos/login/login_performer.h" 14 #include "chrome/browser/chromeos/login/auth/login_performer.h"
15 #include "chrome/browser/chromeos/login/login_utils.h" 15 #include "chrome/browser/chromeos/login/login_utils.h"
16 16
17 class Profile; 17 class Profile;
18 18
19 namespace chromeos { 19 namespace chromeos {
20 20
21 // KioskProfileLoader loads a special profile for a given app. It first 21 // KioskProfileLoader loads a special profile for a given app. It first
22 // attempts to login for the app's generated user id. If the login is 22 // attempts to login for the app's generated user id. If the login is
23 // successful, it prepares app profile then calls the delegate. 23 // successful, it prepares app profile then calls the delegate.
24 class KioskProfileLoader : public LoginPerformer::Delegate, 24 class KioskProfileLoader : public LoginPerformer::Delegate,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 Delegate* delegate_; 64 Delegate* delegate_;
65 scoped_ptr<CryptohomedChecker> cryptohomed_checker_; 65 scoped_ptr<CryptohomedChecker> cryptohomed_checker_;
66 scoped_ptr<LoginPerformer> login_performer_; 66 scoped_ptr<LoginPerformer> login_performer_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(KioskProfileLoader); 68 DISALLOW_COPY_AND_ASSIGN(KioskProfileLoader);
69 }; 69 };
70 70
71 } // namespace chromeos 71 } // namespace chromeos
72 72
73 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_PROFILE_LOADER_H_ 73 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_PROFILE_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698