Index: extensions/browser/api/test/test_api.cc |
diff --git a/extensions/browser/api/test/test_api.cc b/extensions/browser/api/test/test_api.cc |
index 87252b70faff8e79527943da04e994c14c3a35ff..fb3e071d7572b2901a8cdc6472d57fff555e4df6 100644 |
--- a/extensions/browser/api/test/test_api.cc |
+++ b/extensions/browser/api/test/test_api.cc |
@@ -104,6 +104,11 @@ void TestSendMessageFunction::Reply(const std::string& message) { |
SendResponse(true); |
} |
+void TestSendMessageFunction::ReplyWithError(const std::string& error) { |
+ error_ = error; |
+ SendResponse(false); |
+} |
+ |
// static |
void TestGetConfigFunction::set_test_config_state( |
base::DictionaryValue* value) { |