Index: chrome/browser/extensions/extension_function_test_utils.h |
diff --git a/chrome/browser/extensions/extension_function_test_utils.h b/chrome/browser/extensions/extension_function_test_utils.h |
index 37c7592544db42e1f2368c9612e087c5ad95f3eb..fddd6fddd1ba95a5906f045ac5a0dbbcb0c7e141 100644 |
--- a/chrome/browser/extensions/extension_function_test_utils.h |
+++ b/chrome/browser/extensions/extension_function_test_utils.h |
@@ -23,6 +23,8 @@ namespace extensions { |
class Extension; |
} |
+// TODO(ckehoe): Accept args as scoped_ptr<base::Value>, |
+// and migrate existing users to the new API. |
namespace extension_function_test_utils { |
// Parse JSON and return as the specified type, or NULL if the JSON is invalid |
@@ -119,6 +121,10 @@ bool RunFunction(UIThreadExtensionFunction* function, |
const std::string& args, |
Browser* browser, |
RunFunctionFlags flags); |
+bool RunFunction(UIThreadExtensionFunction* function, |
+ scoped_ptr<base::ListValue> args, |
+ Browser* browser, |
+ RunFunctionFlags flags); |
} // namespace extension_function_test_utils |