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

Unified Diff: Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp

Issue 13497009: Remove ENABLE(FILE_SYSTEM) compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added CodeGeneratorInspector.py change Created 7 years, 8 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
Index: Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
diff --git a/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp b/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
index 38368e7882f2d265fbda856e7e9c0eda2753f2a2..fd133f4a3c971e80fff56b1d67c589c1167e6029 100644
--- a/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
+++ b/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
@@ -31,15 +31,12 @@
#include "config.h"
#include "RuntimeEnabledFeatures.h"
+#include "AsyncFileSystem.h"
#include "DatabaseManager.h"
#include "MediaPlayer.h"
#include "SharedWorkerRepository.h"
#include "WebSocket.h"
-#if ENABLE(FILE_SYSTEM)
-#include "AsyncFileSystem.h"
-#endif
-
namespace WebCore {
bool RuntimeEnabledFeatures::isLocalStorageEnabled = true;
@@ -73,14 +70,12 @@ bool RuntimeEnabledFeatures::isPeerConnectionEnabled = true;
bool RuntimeEnabledFeatures::isGamepadEnabled = false;
#endif
-#if ENABLE(FILE_SYSTEM)
bool RuntimeEnabledFeatures::isFileSystemEnabled = false;
bool RuntimeEnabledFeatures::fileSystemEnabled()
{
return isFileSystemEnabled && AsyncFileSystem::isAvailable();
}
-#endif
#if ENABLE(JAVASCRIPT_I18N_API)
bool RuntimeEnabledFeatures::isJavaScriptI18NAPIEnabled = false;
« no previous file with comments | « Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h ('k') | Source/WebCore/bindings/v8/SerializedScriptValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698