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

Unified Diff: net/base/platform_mime_util_mac.mm

Issue 10834051: Bringing up the net target on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit fixing. Created 8 years, 5 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 | « build/all.gyp ('k') | net/base/x509_cert_types.h » ('j') | net/net.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a95a5030650f5809cbeabe4e0e6afaa23249389c..a2975e219efc0181f602ccabf02116de7ef9999c 100644
--- a/net/base/platform_mime_util_mac.mm
+++ b/net/base/platform_mime_util_mac.mm
@@ -4,7 +4,6 @@
#include "net/base/platform_mime_util.h"
-#include <CoreServices/CoreServices.h>
#import <Foundation/Foundation.h>
#include <string>
@@ -14,6 +13,12 @@
#import "base/memory/scoped_nsobject.h"
#include "base/sys_string_conversions.h"
+#if defined(OS_IOS)
+#include <MobileCoreServices/MobileCoreServices.h>
+#else
+#include <CoreServices/CoreServices.h>
+#endif // defined(OS_IOS)
+
// SPI declaration; see the commentary in GetPlatformExtensionsForMimeType.
@interface NSURLFileTypeMappings : NSObject
« no previous file with comments | « build/all.gyp ('k') | net/base/x509_cert_types.h » ('j') | net/net.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698