| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_UI_WEBUI_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_ |
| 7 | 7 |
| 8 #include <functional> | 8 #include <functional> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // Return the WebUIProvider for the |url|'s host if it exists, otherwise NULL. | 57 // Return the WebUIProvider for the |url|'s host if it exists, otherwise NULL. |
| 58 WebUIProvider* GetWebUIProvider(Profile* profile, const GURL& url) const; | 58 WebUIProvider* GetWebUIProvider(Profile* profile, const GURL& url) const; |
| 59 | 59 |
| 60 // Stores the mapping of host to WebUIProvider. | 60 // Stores the mapping of host to WebUIProvider. |
| 61 FactoryOverridesMap factory_overrides_; | 61 FactoryOverridesMap factory_overrides_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(TestChromeWebUIControllerFactory); | 63 DISALLOW_COPY_AND_ASSIGN(TestChromeWebUIControllerFactory); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_UI_WEBUI_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_ | 66 #endif // CHROME_BROWSER_UI_WEBUI_TEST_CHROME_WEB_UI_CONTROLLER_FACTORY_H_ |
| OLD | NEW |