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

Side by Side Diff: chromeos/login/auth/online_attempt_host.h

Issue 628883002: replace OVERRIDE and FINAL with override and final in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chromeos/login/auth/online_attempt.h ('k') | chromeos/login/auth/test_attempt_state.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ 5 #ifndef CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_
6 #define CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ 6 #define CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // |user_context| than a check currently in progress, the current check will 43 // |user_context| than a check currently in progress, the current check will
44 // be silently aborted. 44 // be silently aborted.
45 void Check(net::URLRequestContextGetter* request_context, 45 void Check(net::URLRequestContextGetter* request_context,
46 const UserContext& user_context); 46 const UserContext& user_context);
47 47
48 // Resets the checking process. 48 // Resets the checking process.
49 void Reset(); 49 void Reset();
50 50
51 // AuthAttemptStateResolver overrides. 51 // AuthAttemptStateResolver overrides.
52 // Executed on IO thread. 52 // Executed on IO thread.
53 virtual void Resolve() OVERRIDE; 53 virtual void Resolve() override;
54 54
55 // Does an actual resolve on UI thread. 55 // Does an actual resolve on UI thread.
56 void ResolveOnUIThread(bool success); 56 void ResolveOnUIThread(bool success);
57 57
58 private: 58 private:
59 scoped_refptr<base::MessageLoopProxy> message_loop_; 59 scoped_refptr<base::MessageLoopProxy> message_loop_;
60 Delegate* delegate_; 60 Delegate* delegate_;
61 UserContext current_attempt_user_context_; 61 UserContext current_attempt_user_context_;
62 scoped_ptr<OnlineAttempt> online_attempt_; 62 scoped_ptr<OnlineAttempt> online_attempt_;
63 scoped_ptr<AuthAttemptState> state_; 63 scoped_ptr<AuthAttemptState> state_;
64 base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_; 64 base::WeakPtrFactory<OnlineAttemptHost> weak_ptr_factory_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(OnlineAttemptHost); 66 DISALLOW_COPY_AND_ASSIGN(OnlineAttemptHost);
67 }; 67 };
68 68
69 } // namespace chromeos 69 } // namespace chromeos
70 70
71 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_ 71 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_HOST_H_
OLDNEW
« no previous file with comments | « chromeos/login/auth/online_attempt.h ('k') | chromeos/login/auth/test_attempt_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698