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

Unified Diff: chrome/common/extensions/api/plugins/plugins_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/api/plugins/plugins_handler.cc
diff --git a/chrome/common/extensions/api/plugins/plugins_handler.cc b/chrome/common/extensions/api/plugins/plugins_handler.cc
index e7834c1e94f458ceef61ee8e20ce3ba28a961e24..6e8c77ff7c3446040d7f3c6a22158ef1f099614c 100644
--- a/chrome/common/extensions/api/plugins/plugins_handler.cc
+++ b/chrome/common/extensions/api/plugins/plugins_handler.cc
@@ -69,7 +69,7 @@ const std::vector<std::string> PluginsHandler::Keys() const {
bool PluginsHandler::Parse(Extension* extension, base::string16* error) {
const base::ListValue* list_value = NULL;
if (!extension->manifest()->GetList(keys::kPlugins, &list_value)) {
- *error = ASCIIToUTF16(manifest_errors::kInvalidPlugins);
+ *error = base::ASCIIToUTF16(manifest_errors::kInvalidPlugins);
return false;
}
@@ -78,7 +78,7 @@ bool PluginsHandler::Parse(Extension* extension, base::string16* error) {
for (size_t i = 0; i < list_value->GetSize(); ++i) {
const base::DictionaryValue* plugin_value = NULL;
if (!list_value->GetDictionary(i, &plugin_value)) {
- *error = ASCIIToUTF16(manifest_errors::kInvalidPlugins);
+ *error = base::ASCIIToUTF16(manifest_errors::kInvalidPlugins);
return false;
}
// Get plugins[i].path.

Powered by Google App Engine
This is Rietveld 408576698