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

Unified Diff: chrome/common/extensions/chrome_manifest_url_handlers.cc

Issue 2751653004: MD History: re-use history host constant from content/ instead of duplicating to chrome/ (Closed)
Patch Set: merge Created 3 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 | « chrome/browser/ui/webui/uber/uber_ui.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/chrome_manifest_url_handlers.cc
diff --git a/chrome/common/extensions/chrome_manifest_url_handlers.cc b/chrome/common/extensions/chrome_manifest_url_handlers.cc
index cb6a0e9ec4858eded4e6eef20d342745f053640b..173b9558f70c8512c6adabc0025377bb97072afd 100644
--- a/chrome/common/extensions/chrome_manifest_url_handlers.cc
+++ b/chrome/common/extensions/chrome_manifest_url_handlers.cc
@@ -15,6 +15,7 @@
#include "build/build_config.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/url_constants.h"
+#include "content/public/common/url_constants.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/file_util.h"
#include "extensions/common/manifest.h"
@@ -108,7 +109,7 @@ bool URLOverridesHandler::Parse(Extension* extension, base::string16* error) {
// Restrict override pages to a list of supported URLs.
bool is_allowed_host = page == chrome::kChromeUINewTabHost ||
page == chrome::kChromeUIBookmarksHost ||
- page == chrome::kChromeUIHistoryHost;
+ page == content::kChromeUIHistoryHost;
#if defined(OS_CHROMEOS)
is_allowed_host = is_allowed_host ||
page == chrome::kChromeUIActivationMessageHost ||
« no previous file with comments | « chrome/browser/ui/webui/uber/uber_ui.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698