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

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: fix MostVisitedWebUITest tests 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
Index: content/public/browser/web_ui_controller_factory.h
===================================================================
--- content/public/browser/web_ui_controller_factory.h (revision 179158)
+++ 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(

Powered by Google App Engine
This is Rietveld 408576698