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

Side by Side Diff: Source/web/WebRuntimeFeatures.cpp

Issue 1074943004: Remove LocalStorage runtime flag (status=stable) for blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 void WebRuntimeFeatures::enableFileSystem(bool enable) 136 void WebRuntimeFeatures::enableFileSystem(bool enable)
137 { 137 {
138 RuntimeEnabledFeatures::setFileSystemEnabled(enable); 138 RuntimeEnabledFeatures::setFileSystemEnabled(enable);
139 } 139 }
140 140
141 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) 141 void WebRuntimeFeatures::enableImageColorProfiles(bool enable)
142 { 142 {
143 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); 143 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable);
144 } 144 }
145 145
146 void WebRuntimeFeatures::enableLocalStorage(bool enable)
147 {
148 RuntimeEnabledFeatures::setLocalStorageEnabled(enable);
149 }
150
151 void WebRuntimeFeatures::enableMediaPlayer(bool enable) 146 void WebRuntimeFeatures::enableMediaPlayer(bool enable)
152 { 147 {
153 RuntimeEnabledFeatures::setMediaEnabled(enable); 148 RuntimeEnabledFeatures::setMediaEnabled(enable);
154 } 149 }
155 150
156 void WebRuntimeFeatures::enableMediaCapture(bool enable) 151 void WebRuntimeFeatures::enableMediaCapture(bool enable)
157 { 152 {
158 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); 153 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable);
159 } 154 }
160 155
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 { 327 {
333 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); 328 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);
334 } 329 }
335 330
336 void WebRuntimeFeatures::enableWebVR(bool enable) 331 void WebRuntimeFeatures::enableWebVR(bool enable)
337 { 332 {
338 RuntimeEnabledFeatures::setWebVREnabled(enable); 333 RuntimeEnabledFeatures::setWebVREnabled(enable);
339 } 334 }
340 335
341 } // namespace blink 336 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698