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

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: 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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 bool WebRuntimeFeatures::isRequestAutocompleteEnabled() 692 bool WebRuntimeFeatures::isRequestAutocompleteEnabled()
699 { 693 {
700 #if ENABLE(REQUEST_AUTOCOMPLETE) 694 #if ENABLE(REQUEST_AUTOCOMPLETE)
701 return RuntimeEnabledFeatures::requestAutocompleteEnabled(); 695 return RuntimeEnabledFeatures::requestAutocompleteEnabled();
702 #else 696 #else
703 return false; 697 return false;
704 #endif 698 #endif
705 } 699 }
706 700
707 } // namespace WebKit 701 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698