Index: chrome/renderer/extensions/file_browser_handler_custom_bindings.cc |
=================================================================== |
--- chrome/renderer/extensions/file_browser_handler_custom_bindings.cc (revision 188767) |
+++ chrome/renderer/extensions/file_browser_handler_custom_bindings.cc (working copy) |
@@ -10,6 +10,7 @@ |
#include "base/logging.h" |
#include "grit/renderer_resources.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h" |
+#include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
@@ -46,7 +47,11 @@ |
WebKit::WebFrame* webframe = |
WebKit::WebFrame::frameForContext(v8_context()); |
return webframe->createFileEntry( |
+#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE |
+ WebKit::WebFileSystemTypeExternal, |
+#else |
WebKit::WebFileSystem::TypeExternal, |
+#endif |
WebKit::WebString::fromUTF8(file_system_name.c_str()), |
WebKit::WebString::fromUTF8(file_system_path.c_str()), |
WebKit::WebString::fromUTF8(file_full_path.c_str()), |