Index: chrome/common/extensions/extension_error_utils.h |
diff --git a/chrome/common/extensions/extension_error_utils.h b/chrome/common/extensions/extension_error_utils.h |
index f9f1e7c20185f3c2f2c89c327f01a449787204a2..fdd9b03b57085adf6439eda0c9d16c826163886a 100644 |
--- a/chrome/common/extensions/extension_error_utils.h |
+++ b/chrome/common/extensions/extension_error_utils.h |
@@ -9,16 +9,18 @@ |
class ExtensionErrorUtils { |
public: |
- // Creates an error messages from a pattern. Places first instance if "*" |
- // with |s1|. |
+ // Creates an error messages from a pattern. |
static std::string FormatErrorMessage(const std::string& format, |
- const std::string s1); |
+ const std::string& s1); |
- // Creates an error messages from a pattern. Places first instance if "*" |
- // with |s1| and second instance of "*" with |s2|. |
static std::string FormatErrorMessage(const std::string& format, |
- const std::string s1, |
- const std::string s2); |
+ const std::string& s1, |
+ const std::string& s2); |
+ |
+ static std::string FormatErrorMessage(const std::string& format, |
+ const std::string& s1, |
+ const std::string& s2, |
+ const std::string& s3); |
}; |
#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_ERROR_UTILS_H_ |