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

Unified Diff: chrome/browser/debugger/devtools_window.h

Issue 42233: Add unit tests for DevToolsManager (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/browser/debugger/devtools_manager_unittest.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/debugger/devtools_window.h
===================================================================
--- chrome/browser/debugger/devtools_window.h (revision 11854)
+++ chrome/browser/debugger/devtools_window.h (working copy)
@@ -25,4 +25,13 @@
DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
};
+// Factory for creating DevToolsWindows. Useful for unit tests.
+class DevToolsWindowFactory {
+ public:
+ virtual ~DevToolsWindowFactory() {}
+ virtual DevToolsWindow* CreateDevToolsWindow(
+ DevToolsInstanceDescriptor* descriptor) = 0;
+};
+
+
#endif // CHROME_BROWSER_DEBUGGER_DEV_TOOLS_WINDOW_H_
« no previous file with comments | « chrome/browser/debugger/devtools_manager_unittest.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698