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

Side by Side Diff: chrome/browser/chromeos/login/signin/merge_session_xhr_request_waiter.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 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 CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_XHR_REQUEST_WAITER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_XHR_REQUEST_WAITER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_XHR_REQUEST_WAITER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_XHR_REQUEST_WAITER_H_
7 7
8 #include "chrome/browser/chromeos/login/signin/merge_session_xhr_request_waiter. h" 8 #include "chrome/browser/chromeos/login/signin/merge_session_xhr_request_waiter. h"
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 15 matching lines...) Expand all
26 const MergeSessionThrottle::CompletionCallback& callback); 26 const MergeSessionThrottle::CompletionCallback& callback);
27 virtual ~MergeSessionXHRRequestWaiter(); 27 virtual ~MergeSessionXHRRequestWaiter();
28 28
29 // Starts waiting for merge session completion for |profile_|. 29 // Starts waiting for merge session completion for |profile_|.
30 void StartWaiting(); 30 void StartWaiting();
31 31
32 private: 32 private:
33 // OAuth2LoginManager::Observer overrides. 33 // OAuth2LoginManager::Observer overrides.
34 virtual void OnSessionRestoreStateChanged( 34 virtual void OnSessionRestoreStateChanged(
35 Profile* user_profile, 35 Profile* user_profile,
36 OAuth2LoginManager::SessionRestoreState state) OVERRIDE; 36 OAuth2LoginManager::SessionRestoreState state) override;
37 37
38 // Timeout callback. 38 // Timeout callback.
39 void OnTimeout(); 39 void OnTimeout();
40 40
41 // Notifies callback that waiting is done. 41 // Notifies callback that waiting is done.
42 void NotifyBlockingDone(); 42 void NotifyBlockingDone();
43 43
44 Profile* profile_; 44 Profile* profile_;
45 MergeSessionThrottle::CompletionCallback callback_; 45 MergeSessionThrottle::CompletionCallback callback_;
46 base::WeakPtrFactory<MergeSessionXHRRequestWaiter> weak_ptr_factory_; 46 base::WeakPtrFactory<MergeSessionXHRRequestWaiter> weak_ptr_factory_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(MergeSessionXHRRequestWaiter); 48 DISALLOW_COPY_AND_ASSIGN(MergeSessionXHRRequestWaiter);
49 }; 49 };
50 50
51 } // namespace chromeos 51 } // namespace chromeos
52 52
53 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_XHR_REQUEST_WAITER _H_ 53 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_XHR_REQUEST_WAITER _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698