Changeset 174803 in webkit
- Timestamp:
- Oct 16, 2014 6:14:24 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r174633 r174803 1 2014-10-16 Pascal Jacquemart <p.jacquemart@samsung.com> 2 3 Removing CUSTOM_PROTOCOLS guard 4 https://bugs.webkit.org/show_bug.cgi?id=137741 5 6 Reviewed by Benjamin Poulain. 7 8 * Source/cmake/OptionsEfl.cmake: 9 1 10 2014-10-11 KwangHyuk Kim <hyuki.kim@samsung.com> 2 11 -
trunk/Source/WebKit2/ChangeLog
r174799 r174803 1 2014-10-16 Pascal Jacquemart <p.jacquemart@samsung.com> 2 3 Removing CUSTOM_PROTOCOLS guard 4 https://bugs.webkit.org/show_bug.cgi?id=137741 5 6 Reviewed by Benjamin Poulain. 7 8 * NetworkProcess/NetworkProcess.cpp: 9 (WebKit::NetworkProcess::NetworkProcess): 10 * Shared/Network/CustomProtocols/Cocoa/CustomProtocolManagerCocoa.mm: 11 * Shared/Network/CustomProtocols/CustomProtocolManager.h: 12 * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in: 13 * Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.cpp: 14 * Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.h: 15 * Shared/Network/CustomProtocols/soup/CustomProtocolManagerSoup.cpp: 16 * Shared/Network/NetworkProcessCreationParameters.cpp: 17 (WebKit::NetworkProcessCreationParameters::encode): 18 (WebKit::NetworkProcessCreationParameters::decode): 19 * Shared/Network/NetworkProcessCreationParameters.h: 20 * Shared/WebProcessCreationParameters.cpp: 21 (WebKit::WebProcessCreationParameters::encode): 22 (WebKit::WebProcessCreationParameters::decode): 23 * Shared/WebProcessCreationParameters.h: 24 * UIProcess/API/C/soup/WKAPICastSoup.h: 25 * UIProcess/API/C/soup/WKSoupCustomProtocolRequestManager.cpp: 26 (WKSoupCustomProtocolRequestManagerGetTypeID): 27 (WKSoupCustomProtocolRequestManagerSetClient): 28 * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h: 29 * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in: 30 * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm: 31 * UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp: 32 * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp: 33 * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.h: 34 * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.cpp: 35 * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.h: 36 * UIProcess/Network/NetworkProcessProxy.cpp: 37 (WebKit::NetworkProcessProxy::NetworkProcessProxy): 38 * UIProcess/Network/NetworkProcessProxy.h: 39 * UIProcess/WebContext.cpp: 40 (WebKit::WebContext::WebContext): 41 (WebKit::WebContext::unregisterGlobalURLSchemeAsHavingCustomProtocolHandlers): 42 (WebKit::WebContext::unregisterSchemeForCustomProtocol): 43 * UIProcess/WebContext.h: 44 * UIProcess/WebProcessProxy.cpp: 45 (WebKit::WebProcessProxy::WebProcessProxy): 46 * UIProcess/WebProcessProxy.h: 47 * UIProcess/mac/WebContextMac.mm: 48 (WebKit::WebContext::platformInitializeWebProcess): 49 (WebKit::WebContext::platformInitializeNetworkProcess): 50 * WebKit2Prefix.h: 51 * WebProcess/WebProcess.cpp: 52 (WebKit::WebProcess::WebProcess): 53 * WebProcess/soup/WebKitSoupRequestGeneric.cpp: 54 (webkitSoupRequestGenericSendAsync): 55 (webkitSoupRequestGenericSendFinish): 56 * WebProcess/soup/WebKitSoupRequestGeneric.h: 57 1 58 2014-10-16 Simon Fraser <simon.fraser@apple.com> 2 59 -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.cpp
r174369 r174803 77 77 addSupplement<AuthenticationManager>(); 78 78 addSupplement<WebCookieManager>(); 79 #if ENABLE(CUSTOM_PROTOCOLS)80 79 addSupplement<CustomProtocolManager>(); 81 #endif82 80 } 83 81 -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/Cocoa/CustomProtocolManagerCocoa.mm
r163886 r174803 27 27 #import "CustomProtocolManager.h" 28 28 29 #if ENABLE(CUSTOM_PROTOCOLS)30 31 29 #import "ChildProcess.h" 32 30 #import "CustomProtocolManagerMessages.h" … … 275 273 276 274 } // namespace WebKit 277 278 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.h
r167854 r174803 26 26 #ifndef CustomProtocolManager_h 27 27 #define CustomProtocolManager_h 28 29 #if ENABLE(CUSTOM_PROTOCOLS)30 28 31 29 #include "Connection.h" … … 120 118 } // namespace WebKit 121 119 122 #endif // ENABLE(CUSTOM_PROTOCOLS)123 124 120 #endif // CustomProtocolManager_h -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.messages.in
r161148 r174803 21 21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 25 23 messages -> CustomProtocolManager { 26 24 DidFailWithError(uint64_t customProtocolID, WebCore::ResourceError error) … … 32 30 UnregisterScheme(String name) 33 31 } 34 35 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.cpp
r162920 r174803 21 21 #include "CustomProtocolManagerImpl.h" 22 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 25 23 #include "ChildProcess.h" 26 24 #include "CustomProtocolManagerProxyMessages.h" … … 204 202 205 203 } // namespace WebKit 206 207 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.h
r162449 r174803 20 20 #ifndef CustomProtocolManagerImpl_h 21 21 #define CustomProtocolManagerImpl_h 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 22 25 23 #include <wtf/HashMap.h> … … 70 68 } // namespace WebKit 71 69 72 #endif // ENABLE(CUSTOM_PROTOCOLS)73 74 70 #endif // CustomProtocolManagerImpl_h -
trunk/Source/WebKit2/Shared/Network/CustomProtocols/soup/CustomProtocolManagerSoup.cpp
r162449 r174803 20 20 #include "config.h" 21 21 #include "CustomProtocolManager.h" 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 22 25 23 #include "ChildProcess.h" … … 110 108 111 109 } // namespace WebKit 112 113 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/Shared/Network/NetworkProcessCreationParameters.cpp
r174369 r174803 51 51 #endif 52 52 encoder << shouldUseTestingNetworkSession; 53 #if ENABLE(CUSTOM_PROTOCOLS)54 53 encoder << urlSchemesRegisteredForCustomProtocols; 55 #endif56 54 #if PLATFORM(COCOA) 57 55 encoder << parentProcessName; … … 95 93 if (!decoder.decode(result.shouldUseTestingNetworkSession)) 96 94 return false; 97 #if ENABLE(CUSTOM_PROTOCOLS)98 95 if (!decoder.decode(result.urlSchemesRegisteredForCustomProtocols)) 99 96 return false; 100 #endif101 97 #if PLATFORM(COCOA) 102 98 if (!decoder.decode(result.parentProcessName)) -
trunk/Source/WebKit2/Shared/Network/NetworkProcessCreationParameters.h
r174369 r174803 70 70 bool shouldUseTestingNetworkSession; 71 71 72 #if ENABLE(CUSTOM_PROTOCOLS)73 72 Vector<String> urlSchemesRegisteredForCustomProtocols; 74 #endif75 73 76 74 #if PLATFORM(COCOA) -
trunk/Source/WebKit2/Shared/WebProcessCreationParameters.cpp
r174584 r174803 85 85 encoder << urlSchemesRegisteredAsCachePartitioned; 86 86 #endif 87 #if ENABLE(CUSTOM_PROTOCOLS)88 87 encoder << urlSchemesRegisteredForCustomProtocols; 89 #endif90 88 #if USE(SOUP) 91 89 encoder << cookiePersistentStoragePath; … … 193 191 return false; 194 192 #endif 195 #if ENABLE(CUSTOM_PROTOCOLS)196 193 if (!decoder.decode(parameters.urlSchemesRegisteredForCustomProtocols)) 197 194 return false; 198 #endif199 195 #if USE(SOUP) 200 196 if (!decoder.decode(parameters.cookiePersistentStoragePath)) -
trunk/Source/WebKit2/Shared/WebProcessCreationParameters.h
r174584 r174803 92 92 Vector<String> urlSchemesRegisteredAsCachePartitioned; 93 93 #endif 94 #if ENABLE(CUSTOM_PROTOCOLS)95 94 Vector<String> urlSchemesRegisteredForCustomProtocols; 96 #endif97 95 #if USE(SOUP) 98 96 String cookiePersistentStoragePath; -
trunk/Source/WebKit2/UIProcess/API/C/soup/WKAPICastSoup.h
r174584 r174803 36 36 class WebSoupRequestManagerProxy; 37 37 38 #if ENABLE(CUSTOM_PROTOCOLS)39 38 WK_ADD_API_MAPPING(WKSoupCustomProtocolRequestManagerRef, WebSoupCustomProtocolRequestManager) 40 #endif41 39 42 40 } -
trunk/Source/WebKit2/UIProcess/API/C/soup/WKSoupCustomProtocolRequestManager.cpp
r162449 r174803 34 34 WKTypeID WKSoupCustomProtocolRequestManagerGetTypeID() 35 35 { 36 #if ENABLE(CUSTOM_PROTOCOLS)37 36 return toAPI(WebSoupCustomProtocolRequestManager::APIType); 38 #else39 return 0;40 #endif41 37 } 42 38 43 39 void WKSoupCustomProtocolRequestManagerSetClient(WKSoupCustomProtocolRequestManagerRef soupRequestManagerRef, const WKSoupCustomProtocolRequestManagerClientBase* wkClient) 44 40 { 45 #if ENABLE(CUSTOM_PROTOCOLS)46 41 toImpl(soupRequestManagerRef)->initializeClient(wkClient); 47 #else48 UNUSED_PARAM(soupRequestManagerRef);49 UNUSED_PARAM(wkClient);50 #endif51 42 } -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h
r164172 r174803 26 26 #ifndef CustomProtocolManagerProxy_h 27 27 #define CustomProtocolManagerProxy_h 28 29 #if ENABLE(CUSTOM_PROTOCOLS)30 28 31 29 #include "MessageReceiver.h" … … 68 66 } // namespace WebKit 69 67 70 #endif // ENABLE(CUSTOM_PROTOCOLS)71 72 68 #endif // CustomProtocolManagerProxy_h -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.messages.in
r141710 r174803 21 21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 25 23 messages -> CustomProtocolManagerProxy { 26 24 StartLoading(uint64_t customProtocolID, WebCore::ResourceRequest request) 27 25 StopLoading(uint64_t customProtocolID) 28 26 } 29 30 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm
r162449 r174803 26 26 #import "config.h" 27 27 #import "CustomProtocolManagerProxy.h" 28 29 #if ENABLE(CUSTOM_PROTOCOLS)30 28 31 29 #import "ChildProcessProxy.h" … … 150 148 151 149 } // namespace WebKit 152 153 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp
r162449 r174803 20 20 #include "config.h" 21 21 #include "CustomProtocolManagerProxy.h" 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 22 25 23 #include "ChildProcessProxy.h" … … 51 49 52 50 } // namespace WebKit 53 54 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp
r174419 r174803 20 20 #include "config.h" 21 21 #include "WebSoupCustomProtocolRequestManager.h" 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 22 25 23 #include "APIData.h" … … 147 145 148 146 } // namespace WebKit 149 150 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.h
r162514 r174803 20 20 #ifndef WebSoupCustomProtocolRequestManager_h 21 21 #define WebSoupCustomProtocolRequestManager_h 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 22 25 23 #include "APIObject.h" … … 84 82 } // namespace WebKit 85 83 86 #endif // ENABLE(CUSTOM_PROTOCOLS)87 88 84 #endif // WebSoupCustomProtocolRequestManager_h -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.cpp
r162449 r174803 21 21 #include "WebSoupCustomProtocolRequestManagerClient.h" 22 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 25 23 namespace WebKit { 26 24 … … 42 40 43 41 } // namespace WebKit 44 45 #endif // ENABLE(CUSTOM_PROTOCOLS) -
trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.h
r162449 r174803 20 20 #ifndef WebSoupCustomProtocolRequestManagerClient_h 21 21 #define WebSoupCustomProtocolRequestManagerClient_h 22 23 #if ENABLE(CUSTOM_PROTOCOLS)24 22 25 23 #include "APIClient.h" … … 50 48 } // namespace WebKit 51 49 52 #endif // ENABLE(CUSTOM_PROTOCOLS)53 54 50 #endif // WebSoupCustomProtocolRequestManagerClient_h -
trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp
r174230 r174803 56 56 : m_webContext(webContext) 57 57 , m_numPendingConnectionRequests(0) 58 #if ENABLE(CUSTOM_PROTOCOLS)59 58 , m_customProtocolManagerProxy(this, webContext) 60 #endif61 59 { 62 60 connect(); -
trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h
r174230 r174803 30 30 31 31 #include "ChildProcessProxy.h" 32 #include "CustomProtocolManagerProxy.h" 32 33 #include "ProcessLauncher.h" 33 34 #include "WebProcessProxyMessages.h" 34 35 #include <memory> 35 36 #include <wtf/Deque.h> 36 37 #if ENABLE(CUSTOM_PROTOCOLS)38 #include "CustomProtocolManagerProxy.h"39 #endif40 37 41 38 #if PLATFORM(IOS) … … 99 96 100 97 std::unique_ptr<DownloadProxyMap> m_downloadProxyMap; 101 102 #if ENABLE(CUSTOM_PROTOCOLS)103 98 CustomProtocolManagerProxy m_customProtocolManagerProxy; 104 #endif105 99 106 100 #if PLATFORM(IOS) -
trunk/Source/WebKit2/UIProcess/WebContext.cpp
r174584 r174803 30 30 #include "APIDownloadClient.h" 31 31 #include "APIHistoryClient.h" 32 #include "CustomProtocolManagerMessages.h" 32 33 #include "DownloadProxy.h" 33 34 #include "DownloadProxyMessages.h" … … 92 93 #endif 93 94 94 #if ENABLE(CUSTOM_PROTOCOLS)95 #include "CustomProtocolManagerMessages.h"96 #endif97 98 95 #if ENABLE(REMOTE_INSPECTOR) 99 96 #include <JavaScriptCore/RemoteInspector.h> 100 97 #endif 101 98 102 #if USE(SOUP) && ENABLE(CUSTOM_PROTOCOLS)99 #if USE(SOUP) 103 100 #include "WebSoupCustomProtocolRequestManager.h" 104 101 #endif … … 206 203 addSupplement<WebDatabaseManagerProxy>(); 207 204 #endif 208 #if USE(SOUP) && ENABLE(CUSTOM_PROTOCOLS)205 #if USE(SOUP) 209 206 addSupplement<WebSoupCustomProtocolRequestManager>(); 210 207 #endif … … 1012 1009 } 1013 1010 1014 #if ENABLE(CUSTOM_PROTOCOLS)1015 1011 HashSet<String>& WebContext::globalURLSchemesWithCustomProtocolHandlers() 1016 1012 { … … 1040 1036 context->unregisterSchemeForCustomProtocol(schemeLower); 1041 1037 } 1042 #endif1043 1038 1044 1039 #if ENABLE(CACHE_PARTITIONING) … … 1398 1393 } 1399 1394 1400 #if ENABLE(CUSTOM_PROTOCOLS)1401 1395 void WebContext::registerSchemeForCustomProtocol(const String& scheme) 1402 1396 { … … 1408 1402 sendToNetworkingProcess(Messages::CustomProtocolManager::UnregisterScheme(scheme)); 1409 1403 } 1410 #endif1411 1404 1412 1405 #if ENABLE(NETSCAPE_PLUGIN_API) -
trunk/Source/WebKit2/UIProcess/WebContext.h
r174369 r174803 336 336 void resetHSTSHosts(); 337 337 338 #if ENABLE(CUSTOM_PROTOCOLS)339 338 void registerSchemeForCustomProtocol(const String&); 340 339 void unregisterSchemeForCustomProtocol(const String&); … … 343 342 static void registerGlobalURLSchemeAsHavingCustomProtocolHandlers(const String&); 344 343 static void unregisterGlobalURLSchemeAsHavingCustomProtocolHandlers(const String&); 345 #endif346 344 347 345 #if PLATFORM(COCOA) -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp
r174230 r174803 93 93 , m_context(context) 94 94 , m_mayHaveUniversalFileReadSandboxExtension(false) 95 #if ENABLE(CUSTOM_PROTOCOLS)96 95 , m_customProtocolManagerProxy(this, context) 97 #endif98 96 #if PLATFORM(COCOA) 99 97 , m_processSuppressionEnabled(false) -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.h
r174230 r174803 29 29 #include "APISession.h" 30 30 #include "ChildProcessProxy.h" 31 #include "CustomProtocolManagerProxy.h" 31 32 #include "MessageReceiverMap.h" 32 33 #include "PlatformProcessIdentifier.h" … … 44 45 #include <wtf/RefCounted.h> 45 46 46 #if ENABLE(CUSTOM_PROTOCOLS)47 #include "CustomProtocolManagerProxy.h"48 #endif49 50 47 #if PLATFORM(IOS) 51 48 #include "ProcessThrottler.h" … … 225 222 226 223 std::unique_ptr<DownloadProxyMap> m_downloadProxyMap; 227 228 #if ENABLE(CUSTOM_PROTOCOLS)229 224 CustomProtocolManagerProxy m_customProtocolManagerProxy; 230 #endif231 225 232 226 #if PLATFORM(COCOA) -
trunk/Source/WebKit2/UIProcess/mac/WebContextMac.mm
r172500 r174803 209 209 if (!m_usesNetworkProcess) { 210 210 #endif 211 #if ENABLE(CUSTOM_PROTOCOLS)212 211 for (const auto& scheme : globalURLSchemesWithCustomProtocolHandlers()) 213 212 parameters.urlSchemesRegisteredForCustomProtocols.append(scheme); 214 #endif215 213 #if ENABLE(NETWORK_PROCESS) 216 214 } … … 246 244 parameters.uiProcessBundleIdentifier = [[NSBundle mainBundle] bundleIdentifier]; 247 245 248 #if ENABLE(CUSTOM_PROTOCOLS)249 246 for (const auto& scheme : globalURLSchemesWithCustomProtocolHandlers()) 250 247 parameters.urlSchemesRegisteredForCustomProtocols.append(scheme); 251 #endif252 248 253 249 parameters.httpProxy = [[NSUserDefaults standardUserDefaults] stringForKey:WebKit2HTTPProxyDefaultsKey]; -
trunk/Source/WebKit2/WebKit2Prefix.h
r169622 r174803 43 43 #define ENABLE_MEMORY_SAMPLER 1 44 44 45 #define ENABLE_CUSTOM_PROTOCOLS 146 47 45 #define ENABLE_SHAREABLE_RESOURCE 1 48 46 … … 81 79 #if PLATFORM(GTK) 82 80 #define ENABLE_NETWORK_PROCESS 1 83 #define ENABLE_CUSTOM_PROTOCOLS 184 81 #endif 85 82 -
trunk/Source/WebKit2/WebProcess/WebProcess.cpp
r174584 r174803 29 29 #include "APIFrameHandle.h" 30 30 #include "AuthenticationManager.h" 31 #include "CustomProtocolManager.h" 31 32 #include "DrawingArea.h" 32 33 #include "EventDispatcher.h" … … 101 102 #endif 102 103 103 #if ENABLE(CUSTOM_PROTOCOLS)104 #include "CustomProtocolManager.h"105 #endif106 107 104 #if ENABLE(DATABASE_PROCESS) 108 105 #include "WebToDatabaseProcessConnection.h" … … 195 192 addSupplement<WebNotificationManager>(); 196 193 #endif 197 #if ENABLE(CUSTOM_PROTOCOLS)198 194 addSupplement<CustomProtocolManager>(); 199 #endif200 195 #if ENABLE(BATTERY_STATUS) 201 196 addSupplement<WebBatteryManager>(); -
trunk/Source/WebKit2/WebProcess/soup/WebKitSoupRequestGeneric.cpp
r174584 r174803 47 47 static void webkitSoupRequestGenericSendAsync(SoupRequest* request, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer userData) 48 48 { 49 #if ENABLE(CUSTOM_PROTOCOLS)50 49 CustomProtocolManagerImpl* customProtocolManager = WEBKIT_SOUP_REQUEST_GENERIC_GET_CLASS(request)->customProtocolManager; 51 50 ASSERT(customProtocolManager); 52 51 customProtocolManager->send(g_task_new(request, cancellable, callback, userData)); 53 #endif54 52 } 55 53 … … 57 55 { 58 56 g_return_val_if_fail(g_task_is_valid(result, request), 0); 59 #if ENABLE(CUSTOM_PROTOCOLS)60 57 CustomProtocolManagerImpl* customProtocolManager = WEBKIT_SOUP_REQUEST_GENERIC_GET_CLASS(request)->customProtocolManager; 61 58 ASSERT(customProtocolManager); 62 59 return customProtocolManager->finish(G_TASK(result), error); 63 #else64 return nullptr;65 #endif66 60 } 67 61 -
trunk/Source/WebKit2/WebProcess/soup/WebKitSoupRequestGeneric.h
r162449 r174803 21 21 #define WebKitSoupRequestGeneric_h 22 22 23 #include "CustomProtocolManagerImpl.h" 23 24 #include <glib-object.h> 24 25 #include <libsoup/soup.h> 25 26 #if ENABLE(CUSTOM_PROTOCOLS)27 #include "CustomProtocolManagerImpl.h"28 #endif29 26 30 27 G_BEGIN_DECLS … … 50 47 SoupRequestClass parent; 51 48 52 #if ENABLE(CUSTOM_PROTOCOLS)53 49 WebKit::CustomProtocolManagerImpl* customProtocolManager; 54 #endif55 50 }; 56 51 -
trunk/Source/cmake/OptionsEfl.cmake
r174633 r174803 309 309 endif () 310 310 311 add_definitions(-DENABLE_CUSTOM_PROTOCOLS=1)312 313 311 # [E]WebKit2 tests need a hint to find out where processes such as WebProcess are located at. 314 312 add_definitions(-DWEBKIT_EXEC_PATH=\"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}\")
Note: See TracChangeset
for help on using the changeset viewer.