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

Unified Diff: tracing/tracing/model/source_info/js_source_info.html

Issue 2526613002: Return short-hand object literals to exportTo. (Closed)
Patch Set: manual fixes Created 4 years, 1 month 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 | « tracing/tracing/model/slice_group.html ('k') | tracing/tracing/model/source_info/source_info.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/source_info/js_source_info.html
diff --git a/tracing/tracing/model/source_info/js_source_info.html b/tracing/tracing/model/source_info/js_source_info.html
index bb4370e2c634f77f41ac817adb0468e8f1391a13..5efb0918443b243e800e64dc1ed67169f7f0901a 100644
--- a/tracing/tracing/model/source_info/js_source_info.html
+++ b/tracing/tracing/model/source_info/js_source_info.html
@@ -41,14 +41,16 @@ tr.exportTo('tr.model.source_info', function() {
}
};
+ var JSSourceState = {
+ COMPILED: 'compiled',
+ OPTIMIZABLE: 'optimizable',
+ OPTIMIZED: 'optimized',
+ UNKNOWN: 'unknown',
+ };
+
return {
- JSSourceInfo: JSSourceInfo,
- JSSourceState: {
- COMPILED: 'compiled',
- OPTIMIZABLE: 'optimizable',
- OPTIMIZED: 'optimized',
- UNKNOWN: 'unknown'
- }
+ JSSourceInfo,
+ JSSourceState,
};
});
</script>
« no previous file with comments | « tracing/tracing/model/slice_group.html ('k') | tracing/tracing/model/source_info/source_info.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698