| Index: net/base/platform_mime_util_mac.mm
|
| diff --git a/net/base/platform_mime_util_mac.mm b/net/base/platform_mime_util_mac.mm
|
| index cf5b2625a5814db59edd2ff1d2edc441157b3584..725d0175b2ce373cbad96f5166d858cc0d6d4cfa 100644
|
| --- a/net/base/platform_mime_util_mac.mm
|
| +++ b/net/base/platform_mime_util_mac.mm
|
| @@ -31,7 +31,8 @@
|
| namespace net {
|
|
|
| bool PlatformMimeUtil::GetPlatformMimeTypeFromExtension(
|
| - const base::FilePath::StringType& ext, std::string* result) const {
|
| + const base::FilePath::StringType& ext,
|
| + std::string* result) const {
|
| std::string ext_nodot = ext;
|
| if (ext_nodot.length() >= 1 && ext_nodot[0] == L'.')
|
| ext_nodot.erase(ext_nodot.begin());
|
| @@ -53,7 +54,8 @@ bool PlatformMimeUtil::GetPlatformMimeTypeFromExtension(
|
| }
|
|
|
| bool PlatformMimeUtil::GetPreferredExtensionForMimeType(
|
| - const std::string& mime_type, base::FilePath::StringType* ext) const {
|
| + const std::string& mime_type,
|
| + base::FilePath::StringType* ext) const {
|
| base::ScopedCFTypeRef<CFStringRef> mime_ref(
|
| base::SysUTF8ToCFStringRef(mime_type));
|
| if (!mime_ref)
|
| @@ -86,9 +88,8 @@ void PlatformMimeUtil::GetPlatformExtensionsForMimeType(
|
| // http://mxr.mozilla.org/mozilla-central/search?string=extensionsForMIMEType
|
| // http://www.openradar.me/11384153
|
| // rdar://11384153
|
| - NSArray* extensions_list =
|
| - [[NSURLFileTypeMappings sharedMappings]
|
| - extensionsForMIMEType:base::SysUTF8ToNSString(mime_type)];
|
| + NSArray* extensions_list = [[NSURLFileTypeMappings sharedMappings]
|
| + extensionsForMIMEType:base::SysUTF8ToNSString(mime_type)];
|
| #endif // defined(OS_IOS)
|
|
|
| if (extensions_list) {
|
|
|