⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 118894 in webkit


Ignore:
Timestamp:
May 29, 2012, 10:08:36 PM (14 years ago)
Author:
pilgrim@chromium.org
Message:

[Chromium] Move fileExists to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=87531

Reviewed by Adam Barth.

Call fileExists through fileUtilities(), not directly.

Source/Platform:

  • chromium/public/Platform.h:

(Platform):

Source/WebCore:

  • platform/chromium/FileSystemChromium.cpp:

(WebCore::fileExists):

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/Platform/ChangeLog

    r118873 r118894  
     12012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
     2
     3        [Chromium] Move fileExists to Platform.h
     4        https://bugs.webkit.org/show_bug.cgi?id=87531
     5
     6        Reviewed by Adam Barth.
     7
     8        Call fileExists through fileUtilities(), not directly.
     9
     10        * chromium/public/Platform.h:
     11        (Platform):
     12
    1132012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
    214
  • trunk/Source/Platform/chromium/public/Platform.h

    r118873 r118894  
    106106    // Must return non-null.
    107107    virtual WebFileSystem* fileSystem() { return 0; }
    108 
    109     virtual bool fileExists(const WebString&) { return false; }
    110108
    111109
  • trunk/Source/WebCore/ChangeLog

    r118892 r118894  
     12012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
     2
     3        [Chromium] Move fileExists to Platform.h
     4        https://bugs.webkit.org/show_bug.cgi?id=87531
     5
     6        Reviewed by Adam Barth.
     7
     8        Call fileExists through fileUtilities(), not directly.
     9
     10        * platform/chromium/FileSystemChromium.cpp:
     11        (WebCore::fileExists):
     12
    1132012-05-29  Kentaro Hara  <haraken@chromium.org>
    214
  • trunk/Source/WebCore/platform/chromium/FileSystemChromium.cpp

    r118873 r118894  
    3838
    3939#include <public/Platform.h>
     40#include <public/WebFileUtilities.h>
    4041
    4142namespace WebCore {
     
    9192bool fileExists(const String& path)
    9293{
    93     return WebKit::Platform::current()->fileExists(path);
     94    return WebKit::Platform::current()->fileUtilities()->fileExists(path);
    9495}
    9596
Note: See TracChangeset for help on using the changeset viewer.