diff options
Diffstat (limited to 'chrome/browser/pepper_broker_infobar_delegate.cc')
-rw-r--r-- | chrome/browser/pepper_broker_infobar_delegate.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/pepper_broker_infobar_delegate.cc b/chrome/browser/pepper_broker_infobar_delegate.cc index ca7a597..0fa86d4 100644 --- a/chrome/browser/pepper_broker_infobar_delegate.cc +++ b/chrome/browser/pepper_broker_infobar_delegate.cc @@ -14,6 +14,7 @@ #include "chrome/grit/generated_resources.h" #include "components/content_settings/core/browser/host_content_settings_map.h" #include "components/infobars/core/infobar.h" +#include "components/url_formatter/url_formatter.h" #include "content/public/browser/page_navigator.h" #include "content/public/browser/plugin_service.h" #include "content/public/browser/user_metrics.h" @@ -22,7 +23,6 @@ #include "content/public/common/webplugininfo.h" #include "grit/components_strings.h" #include "grit/theme_resources.h" -#include "net/base/net_util.h" #include "ui/base/l10n/l10n_util.h" @@ -104,10 +104,9 @@ base::string16 PepperBrokerInfoBarDelegate::GetMessageText() const { DCHECK(success); scoped_ptr<PluginMetadata> plugin_metadata( PluginFinder::GetInstance()->GetPluginMetadata(plugin)); - return l10n_util::GetStringFUTF16(IDS_PEPPER_BROKER_MESSAGE, - plugin_metadata->name(), - net::FormatUrl(url_.GetOrigin(), - languages_)); + return l10n_util::GetStringFUTF16( + IDS_PEPPER_BROKER_MESSAGE, plugin_metadata->name(), + url_formatter::FormatUrl(url_.GetOrigin(), languages_)); } base::string16 PepperBrokerInfoBarDelegate::GetButtonLabel( |