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

Side by Side Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 { 272 {
273 } 273 }
274 274
275 bool WebRuntimeFeatures::isXHRResponseBlobEnabled() 275 bool WebRuntimeFeatures::isXHRResponseBlobEnabled()
276 { 276 {
277 return true; 277 return true;
278 } 278 }
279 279
280 void WebRuntimeFeatures::enableFileSystem(bool enable) 280 void WebRuntimeFeatures::enableFileSystem(bool enable)
281 { 281 {
282 #if ENABLE(FILE_SYSTEM)
283 RuntimeEnabledFeatures::setFileSystemEnabled(enable); 282 RuntimeEnabledFeatures::setFileSystemEnabled(enable);
284 #endif
285 } 283 }
286 284
287 bool WebRuntimeFeatures::isFileSystemEnabled() 285 bool WebRuntimeFeatures::isFileSystemEnabled()
288 { 286 {
289 #if ENABLE(FILE_SYSTEM)
290 return RuntimeEnabledFeatures::fileSystemEnabled(); 287 return RuntimeEnabledFeatures::fileSystemEnabled();
291 #else
292 return false;
293 #endif
294 } 288 }
295 289
296 void WebRuntimeFeatures::enableJavaScriptI18NAPI(bool enable) 290 void WebRuntimeFeatures::enableJavaScriptI18NAPI(bool enable)
297 { 291 {
298 #if ENABLE(JAVASCRIPT_I18N_API) 292 #if ENABLE(JAVASCRIPT_I18N_API)
299 RuntimeEnabledFeatures::setJavaScriptI18NAPIEnabled(enable); 293 RuntimeEnabledFeatures::setJavaScriptI18NAPIEnabled(enable);
300 #endif 294 #endif
301 } 295 }
302 296
303 bool WebRuntimeFeatures::isJavaScriptI18NAPIEnabled() 297 bool WebRuntimeFeatures::isJavaScriptI18NAPIEnabled()
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 bool WebRuntimeFeatures::isRequestAutocompleteEnabled() 686 bool WebRuntimeFeatures::isRequestAutocompleteEnabled()
693 { 687 {
694 #if ENABLE(REQUEST_AUTOCOMPLETE) 688 #if ENABLE(REQUEST_AUTOCOMPLETE)
695 return RuntimeEnabledFeatures::requestAutocompleteEnabled(); 689 return RuntimeEnabledFeatures::requestAutocompleteEnabled();
696 #else 690 #else
697 return false; 691 return false;
698 #endif 692 #endif
699 } 693 }
700 694
701 } // namespace WebKit 695 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp ('k') | Source/WebKit/chromium/src/WorkerAsyncFileSystemChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698