Changeset 206937 in webkit


Ignore:
Timestamp:
Oct 7, 2016 2:20:52 PM (8 years ago)
Author:
andersca@apple.com
Message:

Get rid of API::Session and WKSessionRef
https://bugs.webkit.org/show_bug.cgi?id=163140

Reviewed by Tim Horton.

This API is no longer used.

  • CMakeLists.txt:
  • Shared/API/APIObject.h:
  • Shared/API/c/WKSharedAPICast.h:
  • UIProcess/API/APISession.cpp: Removed.

(API::generateID): Deleted.
(API::Session::defaultSession): Deleted.
(API::Session::Session): Deleted.
(API::Session::createEphemeral): Deleted.
(API::Session::isEphemeral): Deleted.
(API::Session::getID): Deleted.
(API::Session::~Session): Deleted.

  • UIProcess/API/APISession.h: Removed.
  • UIProcess/API/C/WKPage.h:
  • UIProcess/API/C/WKSessionRef.cpp: Removed.

(WKSessionCreate): Deleted.
(WKSessionGetTypeID): Deleted.
(WKSessionIsEphemeral): Deleted.

  • UIProcess/API/C/WKSessionRef.h: Removed.
  • UIProcess/WebPageProxy.h:
  • UIProcess/WebProcessProxy.h:
  • WebKit2.xcodeproj/project.pbxproj:
Location:
trunk/Source/WebKit2
Files:
4 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/CMakeLists.txt

    r206779 r206937  
    415415    UIProcess/API/APIProcessPoolConfiguration.cpp
    416416    UIProcess/API/APIOpenPanelParameters.cpp
    417     UIProcess/API/APISession.cpp
    418417    UIProcess/API/APISessionState.cpp
    419418    UIProcess/API/APIUserContentExtension.cpp
  • trunk/Source/WebKit2/ChangeLog

    r206936 r206937  
     12016-10-07  Anders Carlsson  <andersca@apple.com>
     2
     3        Get rid of API::Session and WKSessionRef
     4        https://bugs.webkit.org/show_bug.cgi?id=163140
     5
     6        Reviewed by Tim Horton.
     7
     8        This API is no longer used.
     9
     10        * CMakeLists.txt:
     11        * Shared/API/APIObject.h:
     12        * Shared/API/c/WKSharedAPICast.h:
     13        * UIProcess/API/APISession.cpp: Removed.
     14        (API::generateID): Deleted.
     15        (API::Session::defaultSession): Deleted.
     16        (API::Session::Session): Deleted.
     17        (API::Session::createEphemeral): Deleted.
     18        (API::Session::isEphemeral): Deleted.
     19        (API::Session::getID): Deleted.
     20        (API::Session::~Session): Deleted.
     21        * UIProcess/API/APISession.h: Removed.
     22        * UIProcess/API/C/WKPage.h:
     23        * UIProcess/API/C/WKSessionRef.cpp: Removed.
     24        (WKSessionCreate): Deleted.
     25        (WKSessionGetTypeID): Deleted.
     26        (WKSessionIsEphemeral): Deleted.
     27        * UIProcess/API/C/WKSessionRef.h: Removed.
     28        * UIProcess/WebPageProxy.h:
     29        * UIProcess/WebProcessProxy.h:
     30        * WebKit2.xcodeproj/project.pbxproj:
     31
    1322016-10-07  Tim Horton  <timothy_horton@apple.com>
    233
  • trunk/Source/WebKit2/Shared/API/APIObject.h

    r203338 r206937  
    145145        RunJavaScriptConfirmResultListener,
    146146        RunJavaScriptPromptResultListener,
    147         Session,
    148147        TextChecker,
    149148        UserContentController,
  • trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h

    r206828 r206937  
    3030#include "APINumber.h"
    3131#include "APISecurityOrigin.h"
    32 #include "APISession.h"
    3332#include "APIString.h"
    3433#include "APIURL.h"
     
    113112WK_ADD_API_MAPPING(WKURLResponseRef, API::URLResponse)
    114113WK_ADD_API_MAPPING(WKUserContentURLPatternRef, API::UserContentURLPattern)
    115 WK_ADD_API_MAPPING(WKSessionRef, API::Session)
    116114
    117115template<> struct APITypeInfo<WKMutableArrayRef> { typedef API::Array ImplType; };
  • trunk/Source/WebKit2/UIProcess/API/C/WKPage.h

    r206929 r206937  
    4545#include <WebKit/WKPageUIClient.h>
    4646#include <WebKit/WKPageVisibilityTypes.h>
    47 #include <WebKit/WKSessionRef.h>
    4847
    4948#ifndef __cplusplus
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.h

    r206929 r206937  
    2727
    2828#include "APIObject.h"
    29 #include "APISession.h"
    3029#include "AssistedNodeInformation.h"
    3130#include "AutoCorrectionCallback.h"
  • trunk/Source/WebKit2/UIProcess/WebProcessProxy.h

    r206410 r206937  
    2626#pragma once
    2727
    28 #include "APISession.h"
    2928#include "APIUserInitiatedAction.h"
    3029#include "ChildProcessProxy.h"
  • trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj

    r206936 r206937  
    10771077                75A8D2C9187CCFAF00C39C9E /* WKWebsiteDataStore.mm in Sources */ = {isa = PBXBuildFile; fileRef = 75A8D2C5187CCF9F00C39C9E /* WKWebsiteDataStore.mm */; };
    10781078                75A8D2D6187D1C0E00C39C9E /* WKWebsiteDataStoreInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 75A8D2D4187D1C0100C39C9E /* WKWebsiteDataStoreInternal.h */; };
    1079                 75A8D2D7187D303A00C39C9E /* WKSessionRef.h in Headers */ = {isa = PBXBuildFile; fileRef = 75A8D2D1187D17BF00C39C9E /* WKSessionRef.h */; settings = {ATTRIBUTES = (Private, ); }; };
    1080                 75A8D2D8187D304000C39C9E /* WKSessionRef.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 75A8D2D0187D17BF00C39C9E /* WKSessionRef.cpp */; };
    1081                 75A8D2E1187DEC1A00C39C9E /* APISession.h in Headers */ = {isa = PBXBuildFile; fileRef = 75A8D2DE187DE87400C39C9E /* APISession.h */; };
    1082                 75A8D2E2187DEC1E00C39C9E /* APISession.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 75A8D2DD187DE87400C39C9E /* APISession.cpp */; };
    10831079                762B748D120BC75C00819339 /* WKPreferencesRefPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 762B7484120BBA2D00819339 /* WKPreferencesRefPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
    10841080                7A5E394A1D5BD8BE00B4B7CE /* com.macromedia.Flash Player ESR.plugin.sb in Resources */ = {isa = PBXBuildFile; fileRef = 7A5E39491D5BD8A700B4B7CE /* com.macromedia.Flash Player ESR.plugin.sb */; };
     
    31643160                75A8D2C4187CCF9F00C39C9E /* WKWebsiteDataStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebsiteDataStore.h; sourceTree = "<group>"; };
    31653161                75A8D2C5187CCF9F00C39C9E /* WKWebsiteDataStore.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKWebsiteDataStore.mm; sourceTree = "<group>"; };
    3166                 75A8D2D0187D17BF00C39C9E /* WKSessionRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKSessionRef.cpp; sourceTree = "<group>"; };
    3167                 75A8D2D1187D17BF00C39C9E /* WKSessionRef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKSessionRef.h; sourceTree = "<group>"; };
    31683162                75A8D2D4187D1C0100C39C9E /* WKWebsiteDataStoreInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebsiteDataStoreInternal.h; sourceTree = "<group>"; };
    3169                 75A8D2DD187DE87400C39C9E /* APISession.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = APISession.cpp; path = UIProcess/API/APISession.cpp; sourceTree = SOURCE_ROOT; };
    3170                 75A8D2DE187DE87400C39C9E /* APISession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = APISession.h; path = UIProcess/API/APISession.h; sourceTree = SOURCE_ROOT; };
    31713163                762B7481120BBA0100819339 /* FontSmoothingLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FontSmoothingLevel.h; sourceTree = "<group>"; };
    31723164                762B7484120BBA2D00819339 /* WKPreferencesRefPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKPreferencesRefPrivate.h; sourceTree = "<group>"; };
     
    62636255                                7CE4D21D1A4914CA00C7F152 /* APIProcessPoolConfiguration.cpp */,
    62646256                                7CE4D21E1A4914CA00C7F152 /* APIProcessPoolConfiguration.h */,
    6265                                 75A8D2DD187DE87400C39C9E /* APISession.cpp */,
    6266                                 75A8D2DE187DE87400C39C9E /* APISession.h */,
    62676257                                1AFDE65F1954E9B100C48FFA /* APISessionState.cpp */,
    62686258                                1AFDE6601954E9B100C48FFA /* APISessionState.h */,
     
    64026392                                33367638130C99DC006C9DE2 /* WKResourceCacheManager.cpp */,
    64036393                                33367639130C99DC006C9DE2 /* WKResourceCacheManager.h */,
    6404                                 75A8D2D0187D17BF00C39C9E /* WKSessionRef.cpp */,
    6405                                 75A8D2D1187D17BF00C39C9E /* WKSessionRef.h */,
    64066394                                1ADE46B01954EC61000F7985 /* WKSessionStateRef.cpp */,
    64076395                                1ADE46B11954EC61000F7985 /* WKSessionStateRef.h */,
     
    75587546                                7CE4D2201A4914CA00C7F152 /* APIProcessPoolConfiguration.h in Headers */,
    75597547                                F634445612A885C8000612D8 /* APISecurityOrigin.h in Headers */,
    7560                                 75A8D2E1187DEC1A00C39C9E /* APISession.h in Headers */,
    75617548                                1AFDE6621954E9B100C48FFA /* APISessionState.h in Headers */,
    75627549                                1A4D664818A2D91A00D82E21 /* APIUIClient.h in Headers */,
     
    83188305                                BC407604124FF0270068F20A /* WKSerializedScriptValue.h in Headers */,
    83198306                                F67DD7BA125E40D9007BDCB8 /* WKSerializedScriptValuePrivate.h in Headers */,
    8320                                 75A8D2D7187D303A00C39C9E /* WKSessionRef.h in Headers */,
    83218307                                1ADE46B31954EC61000F7985 /* WKSessionStateRef.h in Headers */,
    83228308                                BCDDB32B124EC2AB0048D13C /* WKSharedAPICast.h in Headers */,
     
    90319017                                7CE4D21F1A4914CA00C7F152 /* APIProcessPoolConfiguration.cpp in Sources */,
    90329018                                FED3C1DC1B447EAC00E0EB7F /* APISerializedScriptValueCocoa.mm in Sources */,
    9033                                 75A8D2E2187DEC1E00C39C9E /* APISession.cpp in Sources */,
    90349019                                1AFDE6611954E9B100C48FFA /* APISessionState.cpp in Sources */,
    90359020                                BCE2315E122C30CA00D5C35A /* APIURLRequest.cpp in Sources */,
     
    97649749                                51CD1C5D1B3493AF00142CA5 /* WKSecurityOriginRef.cpp in Sources */,
    97659750                                BC407603124FF0270068F20A /* WKSerializedScriptValue.cpp in Sources */,
    9766                                 75A8D2D8187D304000C39C9E /* WKSessionRef.cpp in Sources */,
    97679751                                1ADE46B21954EC61000F7985 /* WKSessionStateRef.cpp in Sources */,
    97689752                                513E462E1AD837560016234A /* WKSharingServicePickerDelegate.mm in Sources */,
Note: See TracChangeset for help on using the changeset viewer.