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

Unified Diff: chrome/browser/ui/website_settings/website_settings_utils.cc

Issue 10973013: website_settings: Fix Website Settings popup for chrome://bookmarks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/website_settings/website_settings_utils.cc
diff --git a/chrome/browser/ui/website_settings/website_settings_utils.cc b/chrome/browser/ui/website_settings/website_settings_utils.cc
index 7e90ac45179491510c9e917556d6827d9c1711fb..53c32ad80746a16f778a5996b74a126c18cf1842 100644
--- a/chrome/browser/ui/website_settings/website_settings_utils.cc
+++ b/chrome/browser/ui/website_settings/website_settings_utils.cc
@@ -4,11 +4,14 @@
#include "chrome/browser/ui/website_settings/website_settings_utils.h"
+#include "chrome/common/extensions/extension_constants.h"
#include "chrome/common/url_constants.h"
#include "googleurl/src/gurl.h"
// Returns true if the passed |url| refers to an internal chrome page.
bool InternalChromePage(const GURL& url) {
return url.SchemeIs(chrome::kChromeInternalScheme) ||
- url.SchemeIs(chrome::kChromeUIScheme);
+ url.SchemeIs(chrome::kChromeUIScheme) ||
+ (url.SchemeIs(chrome::kExtensionScheme) &&
+ url.host() == extension_misc::kBookmarkManagerId);
markusheintz_ 2012/09/24 18:36:21 I think we only need to test for url.SchemeIs(chro
tfarina 2012/09/24 19:19:03 Done.
}
« 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