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

Side by Side Diff: chrome/browser/ui/auto_login_infobar_delegate.h

Issue 502343002: Add account_id to signin manager notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isauth
Patch Set: Fix android trybots Created 6 years, 3 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_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include "components/auto_login_parser/auto_login_parser.h" 9 #include "components/auto_login_parser/auto_login_parser.h"
10 #include "components/infobars/core/confirm_infobar_delegate.h" 10 #include "components/infobars/core/confirm_infobar_delegate.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual void InfoBarDismissed() OVERRIDE; 59 virtual void InfoBarDismissed() OVERRIDE;
60 virtual int GetIconID() const OVERRIDE; 60 virtual int GetIconID() const OVERRIDE;
61 virtual Type GetInfoBarType() const OVERRIDE; 61 virtual Type GetInfoBarType() const OVERRIDE;
62 virtual AutoLoginInfoBarDelegate* AsAutoLoginInfoBarDelegate() OVERRIDE; 62 virtual AutoLoginInfoBarDelegate* AsAutoLoginInfoBarDelegate() OVERRIDE;
63 virtual base::string16 GetMessageText() const OVERRIDE; 63 virtual base::string16 GetMessageText() const OVERRIDE;
64 virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; 64 virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
65 virtual bool Accept() OVERRIDE; 65 virtual bool Accept() OVERRIDE;
66 virtual bool Cancel() OVERRIDE; 66 virtual bool Cancel() OVERRIDE;
67 67
68 // SigninManagerBase::Observer: 68 // SigninManagerBase::Observer:
69 virtual void GoogleSignedOut(const std::string& username) OVERRIDE; 69 virtual void GoogleSignedOut(const std::string& account_id,
70 const std::string& username) OVERRIDE;
70 71
71 const Params params_; 72 const Params params_;
72 73
73 Profile* profile_; 74 Profile* profile_;
74 75
75 // Whether any UI controls in the infobar were pressed or not. 76 // Whether any UI controls in the infobar were pressed or not.
76 bool button_pressed_; 77 bool button_pressed_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(AutoLoginInfoBarDelegate); 79 DISALLOW_COPY_AND_ASSIGN(AutoLoginInfoBarDelegate);
79 }; 80 };
80 81
81 #endif // CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_ 82 #endif // CHROME_BROWSER_UI_AUTO_LOGIN_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/auto_login_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698