| 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/startup/obsolete_system_infobar_delegate.h" | 5 #include "chrome/browser/ui/startup/obsolete_system_infobar_delegate.h" |
| 6 | 6 |
| 7 #include "base/cpu.h" | 7 #include "base/cpu.h" |
| 8 #include "chrome/browser/infobars/infobar.h" | |
| 9 #include "chrome/browser/infobars/infobar_service.h" | 8 #include "chrome/browser/infobars/infobar_service.h" |
| 10 #include "chrome/common/url_constants.h" | 9 #include "chrome/common/url_constants.h" |
| 10 #include "components/infobars/core/infobar.h" |
| 11 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 12 #include "grit/chromium_strings.h" | 12 #include "grit/chromium_strings.h" |
| 13 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
| 14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
| 15 | 15 |
| 16 #if defined(OS_MACOSX) | 16 #if defined(OS_MACOSX) |
| 17 #include "chrome/browser/mac/obsolete_system.h" | 17 #include "chrome/browser/mac/obsolete_system.h" |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 #if defined(TOOLKIT_GTK) | 20 #if defined(TOOLKIT_GTK) |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 GURL(chrome::kMac32BitDeprecationURL), | 87 GURL(chrome::kMac32BitDeprecationURL), |
| 88 #else | 88 #else |
| 89 GURL("http://www.google.com/support/chrome/bin/" | 89 GURL("http://www.google.com/support/chrome/bin/" |
| 90 "answer.py?answer=95411"), | 90 "answer.py?answer=95411"), |
| 91 #endif | 91 #endif |
| 92 content::Referrer(), | 92 content::Referrer(), |
| 93 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, | 93 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
| 94 content::PAGE_TRANSITION_LINK, false)); | 94 content::PAGE_TRANSITION_LINK, false)); |
| 95 return false; | 95 return false; |
| 96 } | 96 } |
| OLD | NEW |