Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Unified Diff: chrome/renderer/extensions/extension_process_bindings.cc

Issue 7697004: Cleanup: remove unnecessary ifdef, always use WebKit::WebFileSystem::Type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/extension_process_bindings.cc
diff --git a/chrome/renderer/extensions/extension_process_bindings.cc b/chrome/renderer/extensions/extension_process_bindings.cc
index 43e82aa41be39623398eeeccbeea6f9fbf57268f..d96743cc9298ed88d9403869523f2d681120cdc1 100644
--- a/chrome/renderer/extensions/extension_process_bindings.cc
+++ b/chrome/renderer/extensions/extension_process_bindings.cc
@@ -266,15 +266,9 @@ class ExtensionImpl : public ExtensionBase {
std::string path(*v8::String::Utf8Value(args[1]));
WebFrame* webframe = WebFrame::frameForCurrentContext();
-#ifdef WEB_FILE_SYSTEM_TYPE_EXTERNAL
return webframe->createFileSystem(WebKit::WebFileSystem::TypeExternal,
WebKit::WebString::fromUTF8(name.c_str()),
WebKit::WebString::fromUTF8(path.c_str()));
-#else
- return webframe->createFileSystem(fileapi::kFileSystemTypeExternal,
- WebKit::WebString::fromUTF8(name.c_str()),
- WebKit::WebString::fromUTF8(path.c_str()));
-#endif
}
// Decodes supplied JPEG byte array to image pixel array.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698