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

Unified Diff: content/renderer/drop_data_builder.cc

Issue 1176583003: Move EqualsASCII to the base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util2
Patch Set: Created 5 years, 6 months 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 | « content/common/page_state_serialization.cc ('k') | content/renderer/manifest/manifest_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/drop_data_builder.cc
diff --git a/content/renderer/drop_data_builder.cc b/content/renderer/drop_data_builder.cc
index 395c2b55f378a95134fc7c166197931a84b3d298..bff73f56d902d85823ea2afaf124daf2846b46d1 100644
--- a/content/renderer/drop_data_builder.cc
+++ b/content/renderer/drop_data_builder.cc
@@ -26,20 +26,23 @@ DropData DropDataBuilder::Build(const WebDragData& drag_data) {
const WebDragData::Item& item = item_list[i];
switch (item.storageType) {
case WebDragData::Item::StorageTypeString: {
- if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeText)) {
+ if (base::EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeText)) {
result.text = base::NullableString16(item.stringData, false);
break;
}
- if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeURIList)) {
+ if (base::EqualsASCII(item.stringType,
+ ui::Clipboard::kMimeTypeURIList)) {
result.url = GURL(item.stringData);
result.url_title = item.title;
break;
}
- if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeDownloadURL)) {
+ if (base::EqualsASCII(item.stringType,
+ ui::Clipboard::kMimeTypeDownloadURL)) {
result.download_metadata = item.stringData;
break;
}
- if (EqualsASCII(item.stringType, ui::Clipboard::kMimeTypeHTML)) {
+ if (base::EqualsASCII(item.stringType,
+ ui::Clipboard::kMimeTypeHTML)) {
result.html = base::NullableString16(item.stringData, false);
result.html_base_url = item.baseURL;
break;
« no previous file with comments | « content/common/page_state_serialization.cc ('k') | content/renderer/manifest/manifest_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698