| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2012 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/base/iteration_helpers.html"> | 8 <link rel="import" href="/tracing/base/iteration_helpers.html"> |
| 9 <link rel="import" href="/tracing/importer/import.html"> | 9 <link rel="import" href="/tracing/importer/import.html"> |
| 10 <link rel="import" href="/tracing/model/counter.html"> | 10 <link rel="import" href="/tracing/model/counter.html"> |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 throw new Error('too little information'); | 470 throw new Error('too little information'); |
| 471 | 471 |
| 472 var category = options.category || 'category'; | 472 var category = options.category || 'category'; |
| 473 var colorId = options.colorId || 0; | 473 var colorId = options.colorId || 0; |
| 474 var args = options.args || {}; | 474 var args = options.args || {}; |
| 475 return new tr.model.InstantEvent( | 475 return new tr.model.InstantEvent( |
| 476 category, title, colorId, start, args); | 476 category, title, colorId, start, args); |
| 477 }; | 477 }; |
| 478 | 478 |
| 479 return { | 479 return { |
| 480 TestUtils: TestUtils | 480 TestUtils, |
| 481 }; | 481 }; |
| 482 }); | 482 }); |
| 483 </script> | 483 </script> |
| OLD | NEW |