Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-11-19 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig. Need a way to clear disk cache from WebContext https://bugs.webkit.org/show_bug.cgi?id=49820 * UIProcess/API/C/WKContext.cpp: (WKContextClearResourceCaches): Added. (WKContextClearApplicationCache): Added. * UIProcess/API/C/WKContext.h: * UIProcess/WebContext.cpp: (WebKit::WebContext::clearResourceCaches): Added. (WebKit::WebContext::clearApplicationCache): Added. * UIProcess/WebContext.h: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::clearResourceCaches): Added. (WebKit::WebProcess::clearApplicationCache): Added. * WebProcess/WebProcess.h: * WebProcess/WebProcess.messages.in: Added messages. * WebProcess/mac/WebProcessMac.mm: (WebKit::WebProcess::platformClearResourceCaches): Added. * WebProcess/qt/WebProcessQt.cpp: (WebKit::WebProcess::platformClearResourceCaches): Added. * WebProcess/win/WebProcessWin.cpp: (WebKit::WebProcess::platformClearResourceCaches): Added. Canonical link: https://commits.webkit.org/62902@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
98 additions
and 1 deletion.
- +27 −0 WebKit2/ChangeLog
- +10 −0 WebKit2/UIProcess/API/C/WKContext.cpp
- +3 −0 WebKit2/UIProcess/API/C/WKContext.h
- +10 −0 WebKit2/UIProcess/WebContext.cpp
- +2 −0 WebKit2/UIProcess/WebContext.h
- +23 −0 WebKit2/WebProcess/WebProcess.cpp
- +3 −0 WebKit2/WebProcess/WebProcess.h
- +3 −0 WebKit2/WebProcess/WebProcess.messages.in
- +5 −0 WebKit2/WebProcess/mac/WebProcessMac.mm
- +5 −1 WebKit2/WebProcess/qt/WebProcessQt.cpp
- +7 −0 WebKit2/WebProcess/win/WebProcessWin.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -42,4 +42,7 @@ messages -> WebProcess { | ||
#if PLATFORM(WIN) | ||
SetShouldPaintNativeControls(bool shouldPaintNativeControls) | ||
#endif | ||
|
||
ClearResourceCaches(); | ||
ClearApplicationCache(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -27,9 +27,13 @@ | ||
|
||
namespace WebKit { | ||
|
||
void WebProcess::platformSetCacheModel(CacheModel) | ||
{ | ||
// FIXME: Implement. | ||
} | ||
|
||
void WebProcess::platformClearResourceCaches() | ||
{ | ||
} | ||
|
||
} // namespace WebKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters