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

Side by Side Diff: chrome/browser/ui/sync/one_click_signin_infobar_delegate.cc

Issue 11644059: Change infobar creation to use a public static Create() method on the infobar delegate classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_infobar_delegate.h ('k') | chrome/browser/ui/views/collected_cookies_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698