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

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

Issue 9288074: Rename WebUIFactory to WebUIControllerFactory since that's what it creates now. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: blah Created 8 years, 11 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 | « content/browser/webui/empty_web_ui_factory.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/empty_web_ui_factory.cc
===================================================================
--- content/browser/webui/empty_web_ui_factory.cc (revision 119190)
+++ content/browser/webui/empty_web_ui_factory.cc (working copy)
@@ -1,50 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/browser/webui/empty_web_ui_factory.h"
-
-namespace content {
-
-EmptyWebUIFactory::EmptyWebUIFactory() {
-}
-
-EmptyWebUIFactory::~EmptyWebUIFactory() {
-}
-
-WebUIController* EmptyWebUIFactory::CreateWebUIForURL(WebUI* web_ui,
- const GURL& url) const {
- return NULL;
-}
-
-WebUI::TypeID EmptyWebUIFactory::GetWebUIType(
- content::BrowserContext* browser_context, const GURL& url) const {
- return WebUI::kNoWebUI;
-}
-
-bool EmptyWebUIFactory::UseWebUIForURL(
- content::BrowserContext* browser_context, const GURL& url) const {
- return false;
-}
-
-bool EmptyWebUIFactory::UseWebUIBindingsForURL(
- content::BrowserContext* browser_context, const GURL& url) const {
- return false;
-}
-
-bool EmptyWebUIFactory::HasWebUIScheme(const GURL& url) const {
- return false;
-}
-
-bool EmptyWebUIFactory::IsURLAcceptableForWebUI(
- content::BrowserContext* browser_context,
- const GURL& url) const {
- return false;
-}
-
-// static
-EmptyWebUIFactory* EmptyWebUIFactory::GetInstance() {
- return Singleton<EmptyWebUIFactory>::get();
-}
-
-} // namespace content
« no previous file with comments | « content/browser/webui/empty_web_ui_factory.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698