Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5189)

Unified Diff: chrome/browser/ui/webui/options/handler_options_handler.cc

Issue 1044493002: Remove duplicate definition of Protocol Handler support URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/handler_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/handler_options_handler.cc b/chrome/browser/ui/webui/options/handler_options_handler.cc
index b50d7d649811cf70c0f457b41e8399d13b78cf15..10bee919361923192e218343302f81052388874f 100644
--- a/chrome/browser/ui/webui/options/handler_options_handler.cc
+++ b/chrome/browser/ui/webui/options/handler_options_handler.cc
@@ -14,19 +14,13 @@
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/common/url_constants.h"
#include "chrome/grit/generated_resources.h"
#include "components/google/core/browser/google_util.h"
#include "content/public/browser/web_ui.h"
namespace options {
-namespace {
-
-const char kHandlersLearnMoreUrl[] =
- "https://support.google.com/chrome/answer/1382847";
-
-} // namespace
-
HandlerOptionsHandler::HandlerOptionsHandler() {
}
@@ -53,7 +47,7 @@ void HandlerOptionsHandler::GetLocalizedValues(
RegisterStrings(localized_strings, resources, arraysize(resources));
localized_strings->SetString("handlers_learn_more_url",
- kHandlersLearnMoreUrl);
+ chrome::kLearnMoreRegisterProtocolHandlerURL);
}
void HandlerOptionsHandler::InitializeHandler() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698