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

Side by Side 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 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2015 The Chromium Authors. All rights reserved. 3 Copyright 2015 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/model/source_info/source_info.html"> 8 <link rel="import" href="/tracing/model/source_info/source_info.html">
9 9
10 <script> 10 <script>
(...skipping 23 matching lines...) Expand all
34 return this.scriptId_; 34 return this.scriptId_;
35 }, 35 },
36 36
37 toString: function() { 37 toString: function() {
38 var str = this.isNative_ ? '[native v8] ' : ''; 38 var str = this.isNative_ ? '[native v8] ' : '';
39 return str + 39 return str +
40 tr.model.source_info.SourceInfo.prototype.toString.call(this); 40 tr.model.source_info.SourceInfo.prototype.toString.call(this);
41 } 41 }
42 }; 42 };
43 43
44 var JSSourceState = {
45 COMPILED: 'compiled',
46 OPTIMIZABLE: 'optimizable',
47 OPTIMIZED: 'optimized',
48 UNKNOWN: 'unknown',
49 };
50
44 return { 51 return {
45 JSSourceInfo: JSSourceInfo, 52 JSSourceInfo,
46 JSSourceState: { 53 JSSourceState,
47 COMPILED: 'compiled',
48 OPTIMIZABLE: 'optimizable',
49 OPTIMIZED: 'optimized',
50 UNKNOWN: 'unknown'
51 }
52 }; 54 };
53 }); 55 });
54 </script> 56 </script>
55 57
OLDNEW
« 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