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

Unified Diff: chrome/common/extensions/webview_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/webview_handler.cc
diff --git a/chrome/common/extensions/webview_handler.cc b/chrome/common/extensions/webview_handler.cc
index a5279a26003099382dc32c58b3438dd6ba36249c..ef8b241292ce7f2ca1356a69d8f9206cc5c776fc 100644
--- a/chrome/common/extensions/webview_handler.cc
+++ b/chrome/common/extensions/webview_handler.cc
@@ -72,14 +72,14 @@ bool WebviewHandler::Parse(Extension* extension, base::string16* error) {
const base::DictionaryValue* dict_value = NULL;
if (!extension->manifest()->GetDictionary(keys::kWebview,
&dict_value)) {
- *error = ASCIIToUTF16(errors::kInvalidWebview);
+ *error = base::ASCIIToUTF16(errors::kInvalidWebview);
return false;
}
const base::ListValue* url_list = NULL;
if (!dict_value->GetList(keys::kWebviewAccessibleResources,
&url_list)) {
- *error = ASCIIToUTF16(errors::kInvalidWebviewAccessibleResourcesList);
+ *error = base::ASCIIToUTF16(errors::kInvalidWebviewAccessibleResourcesList);
return false;
}
@@ -105,7 +105,7 @@ bool WebviewHandler::Parse(Extension* extension, base::string16* error) {
const base::ListValue* partition_list = NULL;
if (!dict_value->GetList(keys::kWebviewPrivilegedPartitions,
&partition_list)) {
- *error = ASCIIToUTF16(errors::kInvalidWebviewPrivilegedPartitionList);
+ *error = base::ASCIIToUTF16(errors::kInvalidWebviewPrivilegedPartitionList);
return false;
}
for (size_t i = 0; i < partition_list->GetSize(); ++i) {
« no previous file with comments | « chrome/common/extensions/web_accessible_resources_handler.cc ('k') | chrome/common/importer/firefox_importer_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698