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

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

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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 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"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Starts profile load. Calls delegate on success or failure. 42 // Starts profile load. Calls delegate on success or failure.
43 void Start(); 43 void Start();
44 44
45 private: 45 private:
46 class CryptohomedChecker; 46 class CryptohomedChecker;
47 47
48 void LoginAsKioskAccount(); 48 void LoginAsKioskAccount();
49 void ReportLaunchResult(KioskAppLaunchError::Error error); 49 void ReportLaunchResult(KioskAppLaunchError::Error error);
50 50
51 // LoginPerformer::Delegate overrides 51 // LoginPerformer::Delegate overrides
52 virtual void OnAuthSuccess(const UserContext& user_context) OVERRIDE; 52 virtual void OnAuthSuccess(const UserContext& user_context) override;
53 virtual void OnAuthFailure(const AuthFailure& error) OVERRIDE; 53 virtual void OnAuthFailure(const AuthFailure& error) override;
54 virtual void WhiteListCheckFailed(const std::string& email) OVERRIDE; 54 virtual void WhiteListCheckFailed(const std::string& email) override;
55 virtual void PolicyLoadFailed() OVERRIDE; 55 virtual void PolicyLoadFailed() override;
56 virtual void OnOnlineChecked( 56 virtual void OnOnlineChecked(
57 const std::string& email, bool success) OVERRIDE; 57 const std::string& email, bool success) override;
58 58
59 // LoginUtils::Delegate implementation: 59 // LoginUtils::Delegate implementation:
60 virtual void OnProfilePrepared(Profile* profile) OVERRIDE; 60 virtual void OnProfilePrepared(Profile* profile) override;
61 61
62 std::string user_id_; 62 std::string user_id_;
63 bool use_guest_mount_; 63 bool use_guest_mount_;
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