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..271dcf2bf93e30ab2b064ea93c54b38767483e4e 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); |
scr
2012/12/18 23:13:44
const FilePath& path // (the reference is missing)
scr
2012/12/18 23:15:09
Weird - I don't know why this comment didn't go ou
aboxhall
2012/12/19 19:10:05
Yeah, fixed. No idea what's going on there, but eh
|
+ |
// 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. |