Changeset 228915 in webkit


Ignore:
Timestamp:
Feb 22, 2018 1:31:02 AM (6 years ago)
Author:
Ms2ger@igalia.com
Message:

[GTK][WPE] Fix some build errors in service workers code
https://bugs.webkit.org/show_bug.cgi?id=182966

Reviewed by Žan Doberšek.

Source/WebCore:

No new tests: no change in behavior.

  • workers/service/ServiceWorkerProvider.h: add missing forward declaration.

Source/WebKit:

  • CMakeLists.txt: add missing files.
  • StorageProcess/ServiceWorker/WebSWServerConnection.cpp: add missing includes.
  • UIProcess/ServiceWorkerProcessProxy.cpp: use #include rather than #import in C++; add missing ifdef.
  • UIProcess/ServiceWorkerProcessProxy.h: add missing ifdef.
  • WebProcess/Storage/WebSWClientConnection.cpp: add missing includes.
  • WebProcess/Storage/WebSWContextManagerConnection.cpp: add missing includes.

(WebKit::WebSWContextManagerConnection::WebSWContextManagerConnection):

call the function that exists outside cocoa.

Location:
trunk/Source
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r228914 r228915  
     12018-02-22  Ms2ger  <Ms2ger@igalia.com>
     2
     3        [GTK][WPE] Fix some build errors in service workers code
     4        https://bugs.webkit.org/show_bug.cgi?id=182966
     5
     6        Reviewed by Žan Doberšek.
     7
     8        No new tests: no change in behavior.
     9
     10        * workers/service/ServiceWorkerProvider.h: add missing forward declaration.
     11
    1122018-02-21  Zalan Bujtas  <zalan@apple.com>
    213
  • trunk/Source/WebCore/workers/service/ServiceWorkerProvider.h

    r228188 r228915  
    3535
    3636class SWClientConnection;
     37class SecurityOrigin;
    3738class ServiceWorkerJob;
    3839
  • trunk/Source/WebKit/CMakeLists.txt

    r228590 r228915  
    288288    StorageProcess/ServiceWorker/WebSWOriginStore.cpp
    289289    StorageProcess/ServiceWorker/WebSWServerConnection.cpp
     290    StorageProcess/ServiceWorker/WebSWServerToContextConnection.cpp
    290291
    291292    UIProcess/BackgroundProcessResponsivenessTimer.cpp
     
    301302    UIProcess/ResourceLoadStatisticsPersistentStorage.cpp
    302303    UIProcess/ResponsivenessTimer.cpp
     304    UIProcess/ServiceWorkerProcessProxy.cpp
    303305    UIProcess/StatisticsRequest.cpp
    304306    UIProcess/TextCheckerCompletion.cpp
     
    631633
    632634    StorageProcess/ServiceWorker/WebSWServerConnection.messages.in
     635    StorageProcess/ServiceWorker/WebSWServerToContextConnection.messages.in
    633636
    634637    UIProcess/DrawingAreaProxy.messages.in
  • trunk/Source/WebKit/ChangeLog

    r228907 r228915  
     12018-02-22  Ms2ger  <Ms2ger@igalia.com>
     2
     3        [GTK][WPE] Fix some build errors in service workers code
     4        https://bugs.webkit.org/show_bug.cgi?id=182966
     5
     6        Reviewed by Žan Doberšek.
     7
     8        * CMakeLists.txt: add missing files.
     9        * StorageProcess/ServiceWorker/WebSWServerConnection.cpp: add missing includes.
     10        * UIProcess/ServiceWorkerProcessProxy.cpp: use #include rather than #import in C++; add missing ifdef.
     11        * UIProcess/ServiceWorkerProcessProxy.h: add missing ifdef.
     12        * WebProcess/Storage/WebSWClientConnection.cpp: add missing includes.
     13        * WebProcess/Storage/WebSWContextManagerConnection.cpp: add missing includes.
     14        (WebKit::WebSWContextManagerConnection::WebSWContextManagerConnection):
     15          call the function that exists outside cocoa.
     16
    1172018-02-21  Per Arne Vollan  <pvollan@apple.com>
    218
  • trunk/Source/WebKit/StorageProcess/ServiceWorker/WebSWServerConnection.cpp

    r228691 r228915  
    4242#include "WebSWServerToContextConnection.h"
    4343#include "WebToStorageProcessConnection.h"
     44#include <WebCore/DocumentIdentifier.h>
    4445#include <WebCore/ExceptionData.h>
    4546#include <WebCore/NotImplemented.h>
     
    5051#include <WebCore/ServiceWorkerContextData.h>
    5152#include <WebCore/ServiceWorkerJobData.h>
     53#include <WebCore/ServiceWorkerUpdateViaCache.h>
    5254#include <wtf/MainThread.h>
    5355
  • trunk/Source/WebKit/UIProcess/ServiceWorkerProcessProxy.cpp

    r228230 r228915  
    2424 */
    2525
    26 #import "config.h"
     26#include "config.h"
    2727#include "ServiceWorkerProcessProxy.h"
     28
     29#if ENABLE(SERVICE_WORKER)
    2830
    2931#include "AuthenticationChallengeProxy.h"
     
    101103
    102104} // namespace WebKit
     105
     106#endif // ENABLE(SERVICE_WORKER)
  • trunk/Source/WebKit/UIProcess/ServiceWorkerProcessProxy.h

    r227161 r228915  
    2525
    2626#pragma once
     27
     28#if ENABLE(SERVICE_WORKER)
    2729
    2830#include "WebProcessProxy.h"
     
    5860
    5961} // namespace WebKit
     62
     63#endif // ENABLE(SERVICE_WORKER)
  • trunk/Source/WebKit/WebProcess/Storage/WebSWClientConnection.cpp

    r228564 r228915  
    4545#include <WebCore/ServiceWorkerJobData.h>
    4646#include <WebCore/ServiceWorkerRegistrationData.h>
     47#include <WebCore/ServiceWorkerRegistrationKey.h>
    4748
    4849using namespace PAL;
  • trunk/Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp

    r228564 r228915  
    5454#include <WebCore/ServiceWorkerClientData.h>
    5555#include <WebCore/ServiceWorkerClientIdentifier.h>
     56#include <WebCore/ServiceWorkerClientQueryOptions.h>
     57#include <WebCore/ServiceWorkerJobDataIdentifier.h>
    5658#include <WebCore/UserAgent.h>
    5759#include <pal/SessionID.h>
     
    108110    , m_pageGroupID(pageGroupID)
    109111    , m_pageID(pageID)
     112#if PLATFORM(COCOA)
    110113    , m_userAgent(standardUserAgentWithApplicationName({ }))
     114#else
     115    , m_userAgent(standardUserAgent())
     116#endif
    111117{
    112118    updatePreferencesStore(store);
Note: See TracChangeset for help on using the changeset viewer.