| 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/plugins/plugin_infobar_delegates.h" | 5 #include "chrome/browser/plugins/plugin_infobar_delegates.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "build/build_config.h" |
| 10 #include "chrome/browser/infobars/infobar_service.h" | 11 #include "chrome/browser/infobars/infobar_service.h" |
| 11 #include "chrome/browser/lifetime/application_lifetime.h" | 12 #include "chrome/browser/lifetime/application_lifetime.h" |
| 12 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" | 13 #include "chrome/browser/plugins/chrome_plugin_service_filter.h" |
| 13 #include "chrome/browser/plugins/plugin_metadata.h" | 14 #include "chrome/browser/plugins/plugin_metadata.h" |
| 14 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
| 15 #include "chrome/browser/shell_integration.h" | 16 #include "chrome/browser/shell_integration.h" |
| 16 #include "chrome/browser/ui/browser_commands.h" | 17 #include "chrome/browser/ui/browser_commands.h" |
| 17 #include "chrome/common/url_constants.h" | 18 #include "chrome/common/url_constants.h" |
| 18 #include "chrome/grit/chromium_strings.h" | 19 #include "chrome/grit/chromium_strings.h" |
| 19 #include "chrome/grit/generated_resources.h" | 20 #include "chrome/grit/generated_resources.h" |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 GURL PluginMetroModeInfoBarDelegate::GetLinkURL() const { | 278 GURL PluginMetroModeInfoBarDelegate::GetLinkURL() const { |
| 278 return GURL( | 279 return GURL( |
| 279 (mode_ == MISSING_PLUGIN) | 280 (mode_ == MISSING_PLUGIN) |
| 280 ? "https://support.google.com/chrome/?p=ib_display_in_desktop" | 281 ? "https://support.google.com/chrome/?p=ib_display_in_desktop" |
| 281 : "https://support.google.com/chrome/?p=ib_redirect_to_desktop"); | 282 : "https://support.google.com/chrome/?p=ib_redirect_to_desktop"); |
| 282 } | 283 } |
| 283 | 284 |
| 284 #endif // defined(OS_WIN) | 285 #endif // defined(OS_WIN) |
| 285 | 286 |
| 286 #endif // defined(ENABLE_PLUGIN_INSTALLATION) | 287 #endif // defined(ENABLE_PLUGIN_INSTALLATION) |
| OLD | NEW |