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

Unified Diff: ios/chrome/common/physical_web/physical_web_scanner.mm

Issue 2528893003: [PhysicalWeb] Add physical_web namespace. (Closed)
Patch Set: Created 4 years, 1 month 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: ios/chrome/common/physical_web/physical_web_scanner.mm
diff --git a/ios/chrome/common/physical_web/physical_web_scanner.mm b/ios/chrome/common/physical_web/physical_web_scanner.mm
index 045984a09dd56232f9879cad704beb57b9f8e3c5..424d46e138df0a6abbd6ff7a03f616b88f425df9 100644
--- a/ios/chrome/common/physical_web/physical_web_scanner.mm
+++ b/ios/chrome/common/physical_web/physical_web_scanner.mm
@@ -191,11 +191,11 @@ enum BeaconType {
std::string description = base::SysNSStringToUTF8([device description]);
auto metadataItem = base::MakeUnique<base::DictionaryValue>();
- metadataItem->SetString(kPhysicalWebScannedUrlKey, scannedUrl);
- metadataItem->SetString(kPhysicalWebResolvedUrlKey, resolvedUrl);
- metadataItem->SetString(kPhysicalWebIconUrlKey, icon);
- metadataItem->SetString(kPhysicalWebTitleKey, title);
- metadataItem->SetString(kPhysicalWebDescriptionKey, description);
+ metadataItem->SetString(physical_web::kScannedUrlKey, scannedUrl);
+ metadataItem->SetString(physical_web::kResolvedUrlKey, resolvedUrl);
+ metadataItem->SetString(physical_web::kIconUrlKey, icon);
+ metadataItem->SetString(physical_web::kTitleKey, title);
+ metadataItem->SetString(physical_web::kDescriptionKey, description);
metadataList->Append(std::move(metadataItem));
}

Powered by Google App Engine
This is Rietveld 408576698