Commit 2c8a78eb authored by Moe Ahmadi's avatar Moe Ahmadi Committed by Commit Bot

[AR][IOS] Fixes typo in constant

Bug: 958938
Change-Id: Ia6dd28f199732906327a2ca6b7d2d45053690ea9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1600626Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Auto-Submit: Moe Ahmadi <mahmadi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#659724}
parent cc8e78cb
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/strings/utf_string_conversions.h" #include "base/strings/utf_string_conversions.h"
char kUsdzFileExntension[] = ".usdz"; char kUsdzFileExtension[] = ".usdz";
char kUsdzMimeType[] = "model/vnd.usdz+zip"; char kUsdzMimeType[] = "model/vnd.usdz+zip";
char kLegacyUsdzMimeType[] = "model/usd"; char kLegacyUsdzMimeType[] = "model/usd";
char kLegacyPixarUsdzMimeType[] = "model/vnd.pixar.usd"; char kLegacyPixarUsdzMimeType[] = "model/vnd.pixar.usd";
...@@ -17,5 +17,5 @@ bool IsUsdzFileFormat(const std::string& mime_type, ...@@ -17,5 +17,5 @@ bool IsUsdzFileFormat(const std::string& mime_type,
return mime_type == kUsdzMimeType || mime_type == kLegacyUsdzMimeType || return mime_type == kUsdzMimeType || mime_type == kLegacyUsdzMimeType ||
mime_type == kLegacyPixarUsdzMimeType || mime_type == kLegacyPixarUsdzMimeType ||
base::FilePath(base::UTF16ToUTF8(suggested_filename)) base::FilePath(base::UTF16ToUTF8(suggested_filename))
.MatchesExtension(kUsdzFileExntension); .MatchesExtension(kUsdzFileExtension);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment