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

Unified Diff: chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc

Issue 93793010: Update uses of UTF conversions in chrome/common to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc
diff --git a/chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc b/chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc
index 9adae299a73ab15beca4666c1769f2904bbd600d..b6968b87dd364c003cff95c4f518b031ded3540b 100644
--- a/chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc
+++ b/chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc
@@ -43,7 +43,7 @@ NaClModulesHandler::~NaClModulesHandler() {
bool NaClModulesHandler::Parse(Extension* extension, base::string16* error) {
const base::ListValue* list_value = NULL;
if (!extension->manifest()->GetList(keys::kNaClModules, &list_value)) {
- *error = ASCIIToUTF16(errors::kInvalidNaClModules);
+ *error = base::ASCIIToUTF16(errors::kInvalidNaClModules);
return false;
}
@@ -52,7 +52,7 @@ bool NaClModulesHandler::Parse(Extension* extension, base::string16* error) {
for (size_t i = 0; i < list_value->GetSize(); ++i) {
const base::DictionaryValue* module_value = NULL;
if (!list_value->GetDictionary(i, &module_value)) {
- *error = ASCIIToUTF16(errors::kInvalidNaClModules);
+ *error = base::ASCIIToUTF16(errors::kInvalidNaClModules);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698