| Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
|
| index 94834437bd53615b29a57cb431f336b70fdec395..f3966e44b06ee3d227eb5394379be2e27740a52e 100644
|
| --- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
|
| @@ -78,6 +78,7 @@
|
| #include "extensions/browser/lazy_background_task_queue.h"
|
| #include "extensions/browser/view_type_utils.h"
|
| #include "extensions/common/constants.h"
|
| +#include "extensions/common/extension_urls.h"
|
| #include "extensions/common/manifest_handlers/incognito_info.h"
|
| #include "grit/browser_resources.h"
|
| #include "grit/chromium_strings.h"
|
| @@ -93,6 +94,15 @@ using content::WebContents;
|
|
|
| namespace extensions {
|
|
|
| +namespace {
|
| +
|
| +// Returns the URL to the extensions category on the Web Store.
|
| +GURL GetExtensionGalleryURL() {
|
| + return GURL(GetWebstoreLaunchURL() + "/category/extensions");
|
| +}
|
| +
|
| +} // namespace
|
| +
|
| ExtensionPage::ExtensionPage(const GURL& url,
|
| int render_process_id,
|
| int render_view_id,
|
| @@ -352,12 +362,12 @@ void ExtensionSettingsHandler::GetLocalizedValues(
|
| source->AddString("extensionSettingsSuggestGallery",
|
| l10n_util::GetStringFUTF16(IDS_EXTENSIONS_NONE_INSTALLED_SUGGEST_GALLERY,
|
| ASCIIToUTF16(google_util::AppendGoogleLocaleParam(
|
| - GURL(extension_urls::GetExtensionGalleryURL())).spec())));
|
| + GetExtensionGalleryURL()).spec())));
|
| source->AddString("extensionSettingsGetMoreExtensions",
|
| l10n_util::GetStringUTF16(IDS_GET_MORE_EXTENSIONS));
|
| source->AddString("extensionSettingsGetMoreExtensionsUrl",
|
| ASCIIToUTF16(google_util::AppendGoogleLocaleParam(
|
| - GURL(extension_urls::GetExtensionGalleryURL())).spec()));
|
| + GetExtensionGalleryURL()).spec()));
|
| source->AddString("extensionSettingsExtensionId",
|
| l10n_util::GetStringUTF16(IDS_EXTENSIONS_ID));
|
| source->AddString("extensionSettingsExtensionPath",
|
|
|