Changeset 152392 in webkit


Ignore:
Timestamp:
Jul 4, 2013 1:08:22 AM (11 years ago)
Author:
Patrick Gansterer
Message:

Port FileSystemWin.cpp to WinCE
https://bugs.webkit.org/show_bug.cgi?id=117935

Reviewed by Brent Fulgham.

Add #if !OS(WINCE) around a few lines of the code, so it can be used by the WinCE port too.

  • PlatformWinCE.cmake:
  • platform/win/FileSystemWin.cpp:

(WebCore::storageDirectory):

  • platform/wince/FileSystemWinCE.cpp: Removed.
Location:
trunk/Source/WebCore
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r152391 r152392  
     12013-07-04  Patrick Gansterer  <paroga@webkit.org>
     2
     3        Port FileSystemWin.cpp to WinCE
     4        https://bugs.webkit.org/show_bug.cgi?id=117935
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Add #if !OS(WINCE) around a few lines of the code, so it can be used by the WinCE port too.
     9
     10        * PlatformWinCE.cmake:
     11        * platform/win/FileSystemWin.cpp:
     12        (WebCore::storageDirectory):
     13        * platform/wince/FileSystemWinCE.cpp: Removed.
     14
    1152013-07-04  Balazs Kelemen  <b.kelemen@samsung.com>
    216
  • trunk/Source/WebCore/PlatformWinCE.cmake

    r150216 r152392  
    4444    platform/win/EditorWin.cpp
    4545    platform/win/EventLoopWin.cpp
     46    platform/win/FileSystemWin.cpp
    4647    platform/win/KeyEventWin.cpp
    4748    platform/win/LanguageWin.cpp
     
    6465    platform/win/WidgetWin.cpp
    6566    platform/win/WheelEventWin.cpp
    66 
    67     platform/wince/FileSystemWince.cpp
    6867
    6968    platform/network/NetworkStorageSessionStub.cpp
  • trunk/Source/WebCore/platform/win/FileSystemWin.cpp

    r152142 r152392  
    254254static String storageDirectory(DWORD pathIdentifier)
    255255{
     256#if OS(WINCE)
     257    return String();
     258#else
    256259    Vector<UChar> buffer(MAX_PATH);
    257260    if (FAILED(SHGetFolderPathW(0, pathIdentifier | CSIDL_FLAG_CREATE, 0, 0, buffer.data())))
     
    266269
    267270    return directory;
     271#endif
    268272}
    269273
Note: See TracChangeset for help on using the changeset viewer.