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

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

Issue 6708114: Revert 79691 - Move WebUIFactory to chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « content/browser/tab_contents/tab_contents_view.cc ('k') | content/browser/webui/empty_web_ui_factory.cc » ('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.h
===================================================================
--- content/browser/webui/empty_web_ui_factory.h (revision 79692)
+++ content/browser/webui/empty_web_ui_factory.h (working copy)
@@ -1,37 +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.
-
-#ifndef CONTENT_BROWSER_WEBUI_EMPTY_WEB_UI_FACTORY_H_
-#define CONTENT_BROWSER_WEBUI_EMPTY_WEB_UI_FACTORY_H_
-
-#include "base/memory/singleton.h"
-#include "content/browser/webui/web_ui_factory.h"
-
-namespace content {
-
-// A stubbed out version of WebUIFactory.
-class EmptyWebUIFactory : public content::WebUIFactory {
- public:
- // Returns the singleton instance.
- static EmptyWebUIFactory* GetInstance();
-
- virtual WebUI* CreateWebUIForURL(TabContents* source,
- const GURL& url) const;
- virtual WebUI::TypeID GetWebUIType(Profile* profile,
- const GURL& url) const;
- virtual bool UseWebUIForURL(Profile* profile, const GURL& url) const;
- virtual bool HasWebUIScheme(const GURL& url) const;
- virtual bool IsURLAcceptableForWebUI(Profile* profile,
- const GURL& url) const;
-
- private:
- EmptyWebUIFactory();
- virtual ~EmptyWebUIFactory();
-
- friend struct DefaultSingletonTraits<EmptyWebUIFactory>;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_WEBUI_EMPTY_WEB_UI_FACTORY_H_
« no previous file with comments | « content/browser/tab_contents/tab_contents_view.cc ('k') | content/browser/webui/empty_web_ui_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698