| Index: base/json/string_escape.h
|
| ===================================================================
|
| --- base/json/string_escape.h (revision 95578)
|
| +++ base/json/string_escape.h (working copy)
|
| @@ -10,7 +10,7 @@
|
|
|
| #include <string>
|
|
|
| -#include "base/base_api.h"
|
| +#include "base/base_export.h"
|
| #include "base/string16.h"
|
|
|
| namespace base {
|
| @@ -20,19 +20,19 @@
|
| // If |put_in_quotes| is true, the result will be surrounded in double quotes.
|
| // The outputted literal, when interpreted by the browser, should result in a
|
| // javascript string that is identical and the same length as the input |str|.
|
| -BASE_API void JsonDoubleQuote(const std::string& str,
|
| - bool put_in_quotes,
|
| - std::string* dst);
|
| +BASE_EXPORT void JsonDoubleQuote(const std::string& str,
|
| + bool put_in_quotes,
|
| + std::string* dst);
|
|
|
| // Same as above, but always returns the result double quoted.
|
| -BASE_API std::string GetDoubleQuotedJson(const std::string& str);
|
| +BASE_EXPORT std::string GetDoubleQuotedJson(const std::string& str);
|
|
|
| -BASE_API void JsonDoubleQuote(const string16& str,
|
| - bool put_in_quotes,
|
| - std::string* dst);
|
| +BASE_EXPORT void JsonDoubleQuote(const string16& str,
|
| + bool put_in_quotes,
|
| + std::string* dst);
|
|
|
| // Same as above, but always returns the result double quoted.
|
| -BASE_API std::string GetDoubleQuotedJson(const string16& str);
|
| +BASE_EXPORT std::string GetDoubleQuotedJson(const string16& str);
|
|
|
| } // namespace base
|
|
|
|
|