Changeset 163992 in webkit
- Timestamp:
- Feb 12, 2014, 2:56:27 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r163986 r163992 1 2014-02-12 Anders Carlsson <andersca@apple.com> 2 3 Better iOS build fix. 4 5 * UIProcess/WebPageProxy.cpp: 6 (WebKit::WebPageProxy::wrapCryptoKey): 7 (WebKit::WebPageProxy::unwrapCryptoKey): 8 Make these functions cross platform. 9 10 * UIProcess/mac/WebPageProxyMac.mm: 11 1 12 2014-02-12 Andy Estes <aestes@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r163976 r163992 95 95 #include <WebCore/MIMETypeRegistry.h> 96 96 #include <WebCore/RenderEmbeddedObject.h> 97 #include <WebCore/SerializedCryptoKeyWrap.h> 97 98 #include <WebCore/TextCheckerClient.h> 98 99 #include <WebCore/WindowFeatures.h> … … 4480 4481 } 4481 4482 4482 #if ENABLE(SUBTLE_CRYPTO) && !PLATFORM(COCOA)4483 #if ENABLE(SUBTLE_CRYPTO) 4483 4484 void WebPageProxy::wrapCryptoKey(const Vector<uint8_t>& key, bool& succeeded, Vector<uint8_t>& wrappedKey) 4484 4485 { 4485 notImplemented(); 4486 succeeded = false; 4486 Vector<uint8_t> masterKey(16); 4487 memset(masterKey.data(), 0, masterKey.size()); // FIXME: Not implemented yet, will be getting a key from client. 4488 succeeded = wrapSerializedCryptoKey(masterKey, key, wrappedKey); 4487 4489 } 4488 4490 4489 4491 void WebPageProxy::unwrapCryptoKey(const Vector<uint8_t>& wrappedKey, bool& succeeded, Vector<uint8_t>& key) 4490 4492 { 4491 notImplemented(); 4492 succeeded = false; 4493 Vector<uint8_t> masterKey(16); 4494 memset(masterKey.data(), 0, masterKey.size()); // FIXME: Not implemented yet, will be getting a key from client. 4495 succeeded = unwrapSerializedCryptoKey(masterKey, wrappedKey, key); 4493 4496 } 4494 4497 #endif -
trunk/Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm
r163986 r163992 45 45 #import <WebCore/GraphicsLayer.h> 46 46 #import <WebCore/RuntimeApplicationChecks.h> 47 #import <WebCore/SerializedCryptoKeyWrap.h>48 47 #import <WebCore/SharedBuffer.h> 49 48 #import <WebCore/TextAlternativeWithRange.h> -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r163986 r163992 919 919 9FB5F394169E6A80002C25BF /* WKContextPrivateMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 9FB5F392169E6A80002C25BF /* WKContextPrivateMac.mm */; }; 920 920 9FB5F395169E6A80002C25BF /* WKContextPrivateMac.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB5F393169E6A80002C25BF /* WKContextPrivateMac.h */; settings = {ATTRIBUTES = (Private, ); }; }; 921 A1EB7D5018AC2B6400F178F5 /* WebPageProxyCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = A1EB7D4E18AC2B6400F178F5 /* WebPageProxyCocoa.mm */; };922 921 A5EFD38C16B0E88C00B2F0E8 /* WKPageVisibilityTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = A5EFD38B16B0E88C00B2F0E8 /* WKPageVisibilityTypes.h */; settings = {ATTRIBUTES = (Private, ); }; }; 923 922 A7D792D61767CB6E00881CBE /* ActivityAssertion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7D792D51767CB6E00881CBE /* ActivityAssertion.cpp */; }; … … 2666 2665 9FB5F392169E6A80002C25BF /* WKContextPrivateMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WKContextPrivateMac.mm; path = mac/WKContextPrivateMac.mm; sourceTree = "<group>"; }; 2667 2666 9FB5F393169E6A80002C25BF /* WKContextPrivateMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WKContextPrivateMac.h; path = mac/WKContextPrivateMac.h; sourceTree = "<group>"; }; 2668 A1EB7D4E18AC2B6400F178F5 /* WebPageProxyCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebPageProxyCocoa.mm; sourceTree = "<group>"; };2669 2667 A1EDD2D91884ACE000BBFE98 /* All.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = All.xcconfig; sourceTree = "<group>"; }; 2670 2668 A1EDD2DB1884B96400BBFE98 /* PluginProcessShim.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = PluginProcessShim.xcconfig; sourceTree = "<group>"; }; … … 4036 4034 1ABC3DF41899E437004F0626 /* NavigationState.h */, 4037 4035 1ABC3DF31899E437004F0626 /* NavigationState.mm */, 4038 A1EB7D4E18AC2B6400F178F5 /* WebPageProxyCocoa.mm */,4039 4036 ); 4040 4037 path = Cocoa; … … 7842 7839 E19582D6153CC05400B60875 /* PDFKitImports.mm in Sources */, 7843 7840 2D870D1016234FFE000A3F20 /* PDFPlugin.mm in Sources */, 7844 A1EB7D5018AC2B6400F178F5 /* WebPageProxyCocoa.mm in Sources */,7845 7841 2D2ADF0B16362DDB00197E47 /* PDFPluginAnnotation.mm in Sources */, 7846 7842 2DA944A71884E94800ED86DB /* DownloadIOS.mm in Sources */,
Note:
See TracChangeset
for help on using the changeset viewer.