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

Side by Side 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, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/webui/empty_web_ui_factory.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/webui/empty_web_ui_factory.h"
6
7 namespace content {
8
9 EmptyWebUIFactory::EmptyWebUIFactory() {
10 }
11
12 EmptyWebUIFactory::~EmptyWebUIFactory() {
13 }
14
15 WebUIController* EmptyWebUIFactory::CreateWebUIForURL(WebUI* web_ui,
16 const GURL& url) const {
17 return NULL;
18 }
19
20 WebUI::TypeID EmptyWebUIFactory::GetWebUIType(
21 content::BrowserContext* browser_context, const GURL& url) const {
22 return WebUI::kNoWebUI;
23 }
24
25 bool EmptyWebUIFactory::UseWebUIForURL(
26 content::BrowserContext* browser_context, const GURL& url) const {
27 return false;
28 }
29
30 bool EmptyWebUIFactory::UseWebUIBindingsForURL(
31 content::BrowserContext* browser_context, const GURL& url) const {
32 return false;
33 }
34
35 bool EmptyWebUIFactory::HasWebUIScheme(const GURL& url) const {
36 return false;
37 }
38
39 bool EmptyWebUIFactory::IsURLAcceptableForWebUI(
40 content::BrowserContext* browser_context,
41 const GURL& url) const {
42 return false;
43 }
44
45 // static
46 EmptyWebUIFactory* EmptyWebUIFactory::GetInstance() {
47 return Singleton<EmptyWebUIFactory>::get();
48 }
49
50 } // namespace content
OLDNEW
« 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