Index: chrome/browser/renderer_host/render_sandbox_host_linux.cc |
=================================================================== |
--- chrome/browser/renderer_host/render_sandbox_host_linux.cc (revision 22402) |
+++ chrome/browser/renderer_host/render_sandbox_host_linux.cc (working copy) |
@@ -111,16 +111,13 @@ |
virtual WebClipboard* clipboard() { return NULL; } |
virtual WebMimeRegistry* mimeRegistry() { return NULL; } |
virtual WebSandboxSupport* sandboxSupport() { return NULL; } |
+ virtual bool sandboxEnabled() { return true; } |
virtual WebThemeEngine* themeEngine() { return NULL; } |
virtual WebStorageNamespace* createLocalStorageNamespace( |
const WebString& path) { return 0; } |
virtual WebStorageNamespace* createSessionStorageNamespace() { return 0; } |
- virtual bool getFileSize(const WebString& path, long long& result) { |
- return false; |
- } |
- |
virtual unsigned long long visitedLinkHash(const char*, size_t) { return 0; } |
virtual bool isLinkVisited(unsigned long long) { return false; } |
@@ -129,7 +126,9 @@ |
} |
virtual void setCookies(const WebURL&, const WebURL&, const WebString&) { } |
- virtual WebString cookies(const WebURL&, const WebURL&) { return WebString(); } |
+ virtual WebString cookies(const WebURL&, const WebURL&) { |
+ return WebString(); |
+ } |
virtual void prefetchHostName(const WebString&) { } |
@@ -177,6 +176,22 @@ |
return 0; |
} |
+ bool fileExists(const WebString& path) { return false; } |
+ bool deleteFile(const WebString& path) { return false; } |
+ bool deleteEmptyDirectory(const WebString& path) { return false; } |
+ bool getFileSize(const WebString& path, long long& result) { |
+ return false; |
+ } |
+ bool getFileModificationTime(const WebString& path, time_t& result) { |
+ return false; |
+ } |
+ WebString directoryName(const WebString& path) { return WebString(); } |
+ WebString pathByAppendingComponent(const WebString& path, |
+ const WebString& component) { |
+ return WebString(); |
+ } |
+ bool makeAllDirectories(const WebString& path) { return false; } |
+ |
private: |
// --------------------------------------------------------------------------- |
// Requests from the renderer... |