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

Unified Diff: content/browser/webui/web_ui_factory.cc

Issue 6644002: [ChromeOS] Implement collected cookies in webui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and address arv's comments #1 Created 9 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
Index: content/browser/webui/web_ui_factory.cc
diff --git a/content/browser/webui/web_ui_factory.cc b/content/browser/webui/web_ui_factory.cc
index 7468407e98e4f89b2ad778e3649ebccd4571085e..350d403526af7f75974e509deffcb2f6dd90b3a2 100644
--- a/content/browser/webui/web_ui_factory.cc
+++ b/content/browser/webui/web_ui_factory.cc
@@ -99,8 +99,10 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
if (url.SchemeIs(chrome::kGearsScheme))
return &NewWebUI<HtmlDialogUI>;
- if (url.host() == chrome::kChromeUIDialogHost)
+ if (url.host() == chrome::kChromeUIDialogHost ||
+ url.host() == chrome::kChromeUICollectedCookiesHost) {
return &NewWebUI<ConstrainedHtmlUI>;
+ }
ExtensionService* service = profile ? profile->GetExtensionService() : NULL;
if (service && service->ExtensionBindingsAllowed(url))
« chrome/browser/ui/webui/cookies_tree_model_adapter.cc ('K') | « chrome/common/url_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698