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

Unified Diff: content/public/browser/web_ui_controller_factory.h

Issue 12084029: Simplify how TestChromeWebUIControllerFactory is registered now that multiple WebUIControllerFactor… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to head Created 7 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/web_ui_controller_factory_registry.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_ui_controller_factory.h
===================================================================
--- content/public/browser/web_ui_controller_factory.h (revision 179251)
+++ content/public/browser/web_ui_controller_factory.h (working copy)
@@ -25,6 +25,8 @@
// Call to register a factory.
static void RegisterFactory(WebUIControllerFactory* factory);
+ static void UnregisterFactoryForTesting(WebUIControllerFactory* factory);
+
// Returns a WebUIController instance for the given URL, or NULL if the URL
// doesn't correspond to a WebUI.
virtual WebUIController* CreateWebUIControllerForURL(
« no previous file with comments | « content/browser/webui/web_ui_controller_factory_registry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698