| Index: chrome/browser/ui/chrome_pages.cc
|
| diff --git a/chrome/browser/ui/chrome_pages.cc b/chrome/browser/ui/chrome_pages.cc
|
| index 44687a07c8de34adfc519f7a983c70d096180507..7357ad8790edba3166a45528bf5dc185aa36ac0b 100644
|
| --- a/chrome/browser/ui/chrome_pages.cc
|
| +++ b/chrome/browser/ui/chrome_pages.cc
|
| @@ -36,6 +36,7 @@
|
| #include "components/signin/core/common/profile_management_switches.h"
|
| #include "content/public/browser/user_metrics.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/common/url_constants.h"
|
| #include "extensions/browser/extension_prefs.h"
|
| #include "extensions/common/constants.h"
|
| #include "google_apis/gaia/gaia_urls.h"
|
| @@ -267,7 +268,7 @@ GURL GetSettingsUrl(const std::string& sub_page) {
|
|
|
| bool IsSettingsSubPage(const GURL& url, const std::string& sub_page) {
|
| return (url.SchemeIs(content::kChromeUIScheme) &&
|
| - (url.host_piece() == chrome::kChromeUISettingsHost ||
|
| + (url.host_piece() == content::kChromeUISettingsHost ||
|
| url.host_piece() == chrome::kChromeUISettingsFrameHost) &&
|
| url.path_piece() == "/" + sub_page);
|
| }
|
|
|