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

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: 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 0ccfe62117b6de8763c1b762b9b973ee471a2ab0..efdddfc6ac85695a19c0a793ce87668332b3a7c2 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;

Powered by Google App Engine
This is Rietveld 408576698