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

Unified Diff: Source/bindings/core/v8/V8CacheOptions.h

Issue 432273004: Implement Blink-side changes to enable V8 code caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix very silly bug that causes an unitialized field and a CHECK fail at startup. Created 6 years, 4 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
« no previous file with comments | « Source/bindings/core/v8/ScriptController.cpp ('k') | Source/bindings/core/v8/V8ScriptRunner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8CacheOptions.h
diff --git a/Source/modules/quota/StorageInfo.cpp b/Source/bindings/core/v8/V8CacheOptions.h
similarity index 88%
copy from Source/modules/quota/StorageInfo.cpp
copy to Source/bindings/core/v8/V8CacheOptions.h
index f324e019b2193abaeaa0d38aa91b83cceb7c55f6..78e940fc1fe4ce45e1f1cf81ad5bc2444d7f794b 100644
--- a/Source/modules/quota/StorageInfo.cpp
+++ b/Source/bindings/core/v8/V8CacheOptions.h
@@ -28,16 +28,17 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "config.h"
-#include "modules/quota/StorageInfo.h"
+#ifndef V8CacheOptions_h
+#define V8CacheOptions_h
namespace blink {
-StorageInfo::StorageInfo(unsigned long long usage, unsigned long long quota)
- : m_usage(usage)
- , m_quota(quota)
-{
- ScriptWrappable::init(this);
-}
+enum V8CacheOptions {
+ V8CacheOptionsOff,
+ V8CacheOptionsParse,
+ V8CacheOptionsCode
+};
} // namespace blink
+
+#endif // V8CacheOptions_h
« no previous file with comments | « Source/bindings/core/v8/ScriptController.cpp ('k') | Source/bindings/core/v8/V8ScriptRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698