| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/cocoa/keystone_infobar.h" | 5 #include "chrome/browser/cocoa/keystone_infobar.h" |
| 6 | 6 |
| 7 #import <AppKit/AppKit.h> | 7 #import <AppKit/AppKit.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 | 202 |
| 203 @end // @implementation KeystonePromotionInfoBar | 203 @end // @implementation KeystonePromotionInfoBar |
| 204 | 204 |
| 205 // static | 205 // static |
| 206 void KeystoneInfoBar::PromotionInfoBar(Profile* profile) { | 206 void KeystoneInfoBar::PromotionInfoBar(Profile* profile) { |
| 207 KeystonePromotionInfoBar* promotionInfoBar = | 207 KeystonePromotionInfoBar* promotionInfoBar = |
| 208 [[[KeystonePromotionInfoBar alloc] init] autorelease]; | 208 [[[KeystonePromotionInfoBar alloc] init] autorelease]; |
| 209 | 209 |
| 210 [promotionInfoBar checkAndShowInfoBarForProfile:profile]; | 210 [promotionInfoBar checkAndShowInfoBarForProfile:profile]; |
| 211 } | 211 } |
| OLD | NEW |