[Cocoa] Rename FileMac.mm to FileCocoa.mm
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Feb 2017 01:13:58 +0000 (01:13 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Feb 2017 01:13:58 +0000 (01:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=168947

Reviewed by Zalan Bujtas.

* PlatformMac.cmake:
* WebCore.xcodeproj/project.pbxproj:
* fileapi/FileCocoa.mm: Renamed from Source/WebCore/fileapi/FileMac.mm.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213105 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/PlatformMac.cmake
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/fileapi/FileCocoa.mm [moved from Source/WebCore/fileapi/FileMac.mm with 96% similarity]

index d2556e7..2e1f886 100644 (file)
@@ -1,5 +1,16 @@
 2017-02-27  Andy Estes  <aestes@apple.com>
 
+        [Cocoa] Rename FileMac.mm to FileCocoa.mm
+        https://bugs.webkit.org/show_bug.cgi?id=168947
+
+        Reviewed by Zalan Bujtas.
+
+        * PlatformMac.cmake:
+        * WebCore.xcodeproj/project.pbxproj:
+        * fileapi/FileCocoa.mm: Renamed from Source/WebCore/fileapi/FileMac.mm.
+
+2017-02-27  Andy Estes  <aestes@apple.com>
+
         [iOS] Enable file replacement
         https://bugs.webkit.org/show_bug.cgi?id=168907
         <rdar://problem/22258242>
index 796dba3..448b01d 100644 (file)
@@ -227,7 +227,7 @@ list(APPEND WebCore_SOURCES
     editing/mac/TextAlternativeWithRange.mm
     editing/mac/TextUndoInsertionMarkupMac.mm
 
-    fileapi/FileMac.mm
+    fileapi/FileCocoa.mm
 
     html/HTMLSlotElement.cpp
 
index e72ee8c..a399082 100644 (file)
                E15A36D71104572000B7B639 /* XMLNSNames.h in Headers */ = {isa = PBXBuildFile; fileRef = E15A36D61104572000B7B639 /* XMLNSNames.h */; };
                E15A36D91104572700B7B639 /* XMLNSNames.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E15A36D81104572700B7B639 /* XMLNSNames.cpp */; };
                E15FF7D518C9553800FE4C87 /* KeypressCommand.h in Headers */ = {isa = PBXBuildFile; fileRef = E15FF7D418C9553800FE4C87 /* KeypressCommand.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               E164A2E9191AC5BB0010737D /* FileMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = E164A2E7191AC5BB0010737D /* FileMac.mm */; };
+               E164A2E9191AC5BB0010737D /* FileCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = E164A2E7191AC5BB0010737D /* FileCocoa.mm */; };
                E164A2ED191AE6350010737D /* BlobDataFileReferenceMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = E164A2EB191AE6350010737D /* BlobDataFileReferenceMac.mm */; };
                E164FAA318315BF400DB4E61 /* CryptoKeyRSA.h in Headers */ = {isa = PBXBuildFile; fileRef = E164FAA218315BF400DB4E61 /* CryptoKeyRSA.h */; };
                E164FAA518315E1A00DB4E61 /* CryptoKeyRSAMac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E164FAA418315E1A00DB4E61 /* CryptoKeyRSAMac.cpp */; };
                E15A36D61104572000B7B639 /* XMLNSNames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLNSNames.h; sourceTree = "<group>"; };
                E15A36D81104572700B7B639 /* XMLNSNames.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XMLNSNames.cpp; sourceTree = "<group>"; };
                E15FF7D418C9553800FE4C87 /* KeypressCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KeypressCommand.h; sourceTree = "<group>"; };
-               E164A2E7191AC5BB0010737D /* FileMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FileMac.mm; sourceTree = "<group>"; };
+               E164A2E7191AC5BB0010737D /* FileCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FileCocoa.mm; sourceTree = "<group>"; };
                E164A2EB191AE6350010737D /* BlobDataFileReferenceMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = BlobDataFileReferenceMac.mm; sourceTree = "<group>"; };
                E164FAA218315BF400DB4E61 /* CryptoKeyRSA.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CryptoKeyRSA.h; sourceTree = "<group>"; };
                E164FAA418315E1A00DB4E61 /* CryptoKeyRSAMac.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CryptoKeyRSAMac.cpp; sourceTree = "<group>"; };
                                976D6C61122B8A3D001FD1F7 /* File.cpp */,
                                976D6C62122B8A3D001FD1F7 /* File.h */,
                                E1AB1EB714E9E35800449E13 /* File.idl */,
+                               E164A2E7191AC5BB0010737D /* FileCocoa.mm */,
                                976D6C64122B8A3D001FD1F7 /* FileError.h */,
                                E1AB1EBB14E9E37A00449E13 /* FileError.idl */,
                                978D07B5145A0F030096908D /* FileException.cpp */,
                                976D6C66122B8A3D001FD1F7 /* FileList.cpp */,
                                976D6C67122B8A3D001FD1F7 /* FileList.h */,
                                E1AB1EA814E9E27D00449E13 /* FileList.idl */,
-                               E164A2E7191AC5BB0010737D /* FileMac.mm */,
                                976D6C69122B8A3D001FD1F7 /* FileReader.cpp */,
                                976D6C6A122B8A3D001FD1F7 /* FileReader.h */,
                                14BDF59A1365399100148393 /* FileReader.idl */,
                                1A88A90417553CD7000C74F9 /* FileIconLoader.cpp in Sources */,
                                F55B3DBD1251F12D003EF269 /* FileInputType.cpp in Sources */,
                                976D6C85122B8A3D001FD1F7 /* FileList.cpp in Sources */,
-                               E164A2E9191AC5BB0010737D /* FileMac.mm in Sources */,
+                               E164A2E9191AC5BB0010737D /* FileCocoa.mm in Sources */,
                                976D6C88122B8A3D001FD1F7 /* FileReader.cpp in Sources */,
                                2E75841D12779ADA0062628B /* FileReaderLoader.cpp in Sources */,
                                2EDF369C122C94B4002F7D4E /* FileReaderSync.cpp in Sources */,
similarity index 96%
rename from Source/WebCore/fileapi/FileMac.mm
rename to Source/WebCore/fileapi/FileCocoa.mm
index 6315618..0d5a697 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2014-2017 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -66,4 +66,4 @@ void File::computeNameAndContentTypeForReplacedFile(const String& path, const St
 
 }
 
-#endif
+#endif // ENABLE(FILE_REPLACEMENT)