OLD | NEW |
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_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/signin/signin_tracker.h" | 10 #include "chrome/browser/signin/signin_tracker.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 // Overridden from app_list::SigninDelegate: | 26 // Overridden from app_list::SigninDelegate: |
27 virtual bool NeedSignin() OVERRIDE; | 27 virtual bool NeedSignin() OVERRIDE; |
28 virtual void ShowSignin() OVERRIDE; | 28 virtual void ShowSignin() OVERRIDE; |
29 virtual void OpenLearnMore() OVERRIDE; | 29 virtual void OpenLearnMore() OVERRIDE; |
30 virtual void OpenSettings() OVERRIDE; | 30 virtual void OpenSettings() OVERRIDE; |
31 virtual string16 GetSigninHeading() OVERRIDE; | 31 virtual string16 GetSigninHeading() OVERRIDE; |
32 virtual string16 GetSigninText() OVERRIDE; | 32 virtual string16 GetSigninText() OVERRIDE; |
33 virtual string16 GetSigninButtonText() OVERRIDE; | 33 virtual string16 GetSigninButtonText() OVERRIDE; |
34 virtual string16 GetLearnMoreLinkText() OVERRIDE; | 34 virtual string16 GetLearnMoreLinkText() OVERRIDE; |
35 virtual string16 GetSettingsLinkText() OVERRIDE; | 35 virtual string16 GetSettingsLinkText() OVERRIDE; |
| 36 virtual void SetProfileByPath(base::FilePath profile_path) OVERRIDE; |
36 | 37 |
37 // Overridden from SigninTracker::Observer: | 38 // Overridden from SigninTracker::Observer: |
38 virtual void SigninFailed(const GoogleServiceAuthError& error) OVERRIDE; | 39 virtual void SigninFailed(const GoogleServiceAuthError& error) OVERRIDE; |
39 virtual void SigninSuccess() OVERRIDE; | 40 virtual void SigninSuccess() OVERRIDE; |
40 | 41 |
41 Profile* profile_; | 42 Profile* profile_; |
42 | 43 |
43 scoped_ptr<SigninTracker> signin_tracker_; | 44 scoped_ptr<SigninTracker> signin_tracker_; |
44 | 45 |
45 DISALLOW_COPY_AND_ASSIGN(ChromeSigninDelegate); | 46 DISALLOW_COPY_AND_ASSIGN(ChromeSigninDelegate); |
46 }; | 47 }; |
47 | 48 |
48 #endif // CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_ | 49 #endif // CHROME_BROWSER_UI_APP_LIST_CHROME_SIGNIN_DELEGATE_H_ |
OLD | NEW |