OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/sync/one_click_signin_infobar_delegate.h" | 5 #include "chrome/browser/ui/sync/one_click_signin_infobar_delegate.h" |
6 | 6 |
7 OneClickSigninInfoBarDelegate::OneClickSigninInfoBarDelegate( | |
8 InfoBarService* infobar_service) | |
9 : ConfirmInfoBarDelegate(infobar_service) { | |
10 } | |
11 | |
12 OneClickSigninInfoBarDelegate::~OneClickSigninInfoBarDelegate() { | 7 OneClickSigninInfoBarDelegate::~OneClickSigninInfoBarDelegate() { |
13 } | 8 } |
14 | 9 |
15 void OneClickSigninInfoBarDelegate::GetAlternateColors( | 10 void OneClickSigninInfoBarDelegate::GetAlternateColors( |
16 AlternateColors* alt_colors) { | 11 AlternateColors* alt_colors) { |
17 alt_colors->enabled = false; | 12 alt_colors->enabled = false; |
18 } | 13 } |
| 14 |
| 15 OneClickSigninInfoBarDelegate::OneClickSigninInfoBarDelegate( |
| 16 InfoBarService* infobar_service) |
| 17 : ConfirmInfoBarDelegate(infobar_service) { |
| 18 } |
OLD | NEW |