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

Side by Side Diff: content/browser/webui/empty_web_ui_factory.cc

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: slight tweaking for comments Created 9 years, 4 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/browser/webui/web_ui_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/webui/empty_web_ui_factory.h" 5 #include "content/browser/webui/empty_web_ui_factory.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 EmptyWebUIFactory::EmptyWebUIFactory() { 9 EmptyWebUIFactory::EmptyWebUIFactory() {
10 } 10 }
11 11
12 EmptyWebUIFactory::~EmptyWebUIFactory() { 12 EmptyWebUIFactory::~EmptyWebUIFactory() {
13 } 13 }
14 14
15 WebUI* EmptyWebUIFactory::CreateWebUIForURL(TabContents* source, 15 WebUI* EmptyWebUIFactory::CreateWebUIForURL(TabContents* source,
16 const GURL& url) const { 16 const GURL& url) const {
17 return NULL; 17 return NULL;
18 } 18 }
19 19
20 WebUI::TypeID EmptyWebUIFactory::GetWebUIType(Profile* profile, 20 WebUI::TypeID EmptyWebUIFactory::GetWebUIType(
21 const GURL& url) const { 21 content::BrowserContext* browser_context, const GURL& url) const {
22 return WebUI::kNoWebUI; 22 return WebUI::kNoWebUI;
23 } 23 }
24 24
25 bool EmptyWebUIFactory::UseWebUIForURL(Profile* profile, 25 bool EmptyWebUIFactory::UseWebUIForURL(
26 const GURL& url) const { 26 content::BrowserContext* browser_context, const GURL& url) const {
27 return false; 27 return false;
28 } 28 }
29 29
30 bool EmptyWebUIFactory::HasWebUIScheme(const GURL& url) const { 30 bool EmptyWebUIFactory::HasWebUIScheme(const GURL& url) const {
31 return false; 31 return false;
32 } 32 }
33 33
34 bool EmptyWebUIFactory::IsURLAcceptableForWebUI(Profile* profile, 34 bool EmptyWebUIFactory::IsURLAcceptableForWebUI(
35 const GURL& url) const { 35 content::BrowserContext* browser_context,
36 const GURL& url) const {
36 return false; 37 return false;
37 } 38 }
38 39
39 // static 40 // static
40 EmptyWebUIFactory* EmptyWebUIFactory::GetInstance() { 41 EmptyWebUIFactory* EmptyWebUIFactory::GetInstance() {
41 return Singleton<EmptyWebUIFactory>::get(); 42 return Singleton<EmptyWebUIFactory>::get();
42 } 43 }
43 44
44 } // namespace content 45 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/webui/empty_web_ui_factory.h ('k') | content/browser/webui/web_ui_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698