#ifndef EXTENSIONS_COMMON_ERROR_UTILS_H_
#define EXTENSIONS_COMMON_ERROR_UTILS_H_
#include <string>
#include "base/strings/string16.h"
namespace extensions {
class ErrorUtils {
public:
static std::string FormatErrorMessage(const std::string& format,
const std::string& s1);
static std::string FormatErrorMessage(const std::string& format,
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);
static base::string16 FormatErrorMessageUTF16(const std::string& format,
const std::string& s1);
static base::string16 FormatErrorMessageUTF16(const std::string& format,
const std::string& s1,
const std::string& s2);
static base::string16 FormatErrorMessageUTF16(const std::string& format,
const std::string& s1,
const std::string& s2,
const std::string& s3);
};
}
#endif