Index: chrome/browser/ui/webui/web_ui_browsertest.h |
diff --git a/chrome/browser/ui/webui/web_ui_browsertest.h b/chrome/browser/ui/webui/web_ui_browsertest.h |
index f184570deb369472245840dd3f09436013781bf7..926884929c8301ece14a36e43701aa5291613066 100644 |
--- a/chrome/browser/ui/webui/web_ui_browsertest.h |
+++ b/chrome/browser/ui/webui/web_ui_browsertest.h |
@@ -52,6 +52,9 @@ class WebUIBrowserTest |
// as relative to the test data dir. |
void AddLibrary(const FilePath& library_path); |
+ // Add a helper JS library from a path relative to base::DIR_SOURCE_ROOT. |
+ void AddLibraryFromPath(const FilePath& path); |
James Hawkins
2013/01/03 21:23:39
How is this different from AddLibrary, which also
Paweł Hajdan Jr.
2013/01/03 21:40:56
+1 . Please don't create superfluous public interf
aboxhall
2013/01/03 22:11:22
I don't think it's superfluous. Standardising on r
James Hawkins
2013/01/04 18:25:17
That's fine, but this method does not need to be o
Paweł Hajdan Jr.
2013/01/04 18:57:03
This effectively says to me, that standardizing wo
|
+ |
// Runs a javascript function in the context of all libraries. |
// Note that calls to functions in test_api.js are not supported. |
// Takes ownership of Value* arguments. |