| Index: chrome/common/extensions/extension_error_utils.h
|
| ===================================================================
|
| --- chrome/common/extensions/extension_error_utils.h (revision 114888)
|
| +++ chrome/common/extensions/extension_error_utils.h (working copy)
|
| @@ -8,20 +8,34 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/string16.h"
|
| +
|
| class ExtensionErrorUtils {
|
| public:
|
| // Creates an error messages from a pattern.
|
| static std::string FormatErrorMessage(const std::string& format,
|
| - const std::string& s1);
|
| + const std::string& s1);
|
|
|
| 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);
|
| + const std::string& s1,
|
| + const std::string& s2,
|
| + const std::string& s3);
|
| +
|
| + static string16 FormatErrorMessageUTF16(const std::string& format,
|
| + const std::string& s1);
|
| +
|
| + static string16 FormatErrorMessageUTF16(const std::string& format,
|
| + const std::string& s1,
|
| + const std::string& s2);
|
| +
|
| + static string16 FormatErrorMessageUTF16(const std::string& format,
|
| + const std::string& s1,
|
| + const std::string& s2,
|
| + const std::string& s3);
|
| };
|
|
|
| #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_ERROR_UTILS_H_
|
|
|