Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 569bb3e61c55665d533c872f27c6e7bb33822083..1926ea76782d7b663eeeb4047cd26ff8ece8c1f3 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -178,6 +178,7 @@ |
#include "content/public/common/sandbox_type.h" |
#include "content/public/common/service_manager_connection.h" |
#include "content/public/common/service_names.mojom.h" |
+#include "content/public/common/url_constants.h" |
#include "content/public/common/url_utils.h" |
#include "content/public/common/web_preferences.h" |
#include "device/bluetooth/adapter_factory.h" |
@@ -652,7 +653,7 @@ bool HandleWebUI(GURL* url, content::BrowserContext* browser_context) { |
if (user_manager::UserManager::Get()->IsLoggedInAsGuest()) { |
if (url->SchemeIs(content::kChromeUIScheme) && |
(url->DomainIs(chrome::kChromeUIBookmarksHost) || |
- url->DomainIs(chrome::kChromeUIHistoryHost))) { |
+ url->DomainIs(content::kChromeUIHistoryHost))) { |
// Rewrite with new tab URL |
*url = GURL(chrome::kChromeUINewTabURL); |
} |