Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: extensions/common/error_utils.cc

Issue 107803004: Add base:: to string16 in extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove a using Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/error_utils.h ('k') | extensions/common/extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/error_utils.cc
diff --git a/extensions/common/error_utils.cc b/extensions/common/error_utils.cc
index bd4d32e0d2a4b8ed349b70be1f02d6fd8b209057..c44e21605e9bb75a0c065dfdaa7126733172b083 100644
--- a/extensions/common/error_utils.cc
+++ b/extensions/common/error_utils.cc
@@ -36,26 +36,26 @@ std::string ErrorUtils::FormatErrorMessage(const std::string& format,
return ret_val;
}
-string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format,
- const std::string& s1) {
+base::string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format,
+ const std::string& s1) {
std::string ret_val = format;
ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s1);
return UTF8ToUTF16(ret_val);
}
-string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format,
- const std::string& s1,
- const std::string& s2) {
+base::string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format,
+ const std::string& s1,
+ const std::string& s2) {
std::string ret_val = format;
ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s1);
ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s2);
return UTF8ToUTF16(ret_val);
}
-string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format,
- const std::string& s1,
- const std::string& s2,
- const std::string& s3) {
+base::string16 ErrorUtils::FormatErrorMessageUTF16(const std::string& format,
+ const std::string& s1,
+ const std::string& s2,
+ const std::string& s3) {
std::string ret_val = format;
ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s1);
ReplaceFirstSubstringAfterOffset(&ret_val, 0, "*", s2);
« no previous file with comments | « extensions/common/error_utils.h ('k') | extensions/common/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698