diff options
Diffstat (limited to 'chromium/third_party/catapult/tracing/tracing/model/user_model/startup_expectation.html')
-rw-r--r-- | chromium/third_party/catapult/tracing/tracing/model/user_model/startup_expectation.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/chromium/third_party/catapult/tracing/tracing/model/user_model/startup_expectation.html b/chromium/third_party/catapult/tracing/tracing/model/user_model/startup_expectation.html new file mode 100644 index 00000000000..809debc3fb3 --- /dev/null +++ b/chromium/third_party/catapult/tracing/tracing/model/user_model/startup_expectation.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<!-- +Copyright (c) 2015 The Chromium Authors. All rights reserved. +Use of this source code is governed by a BSD-style license that can be +found in the LICENSE file. +--> + +<link rel="import" href="/tracing/model/user_model/user_expectation.html"> + +<script> +'use strict'; + +tr.exportTo('tr.model.um', function() { + function StartupExpectation(parentModel, start, duration) { + tr.model.um.UserExpectation.call( + this, parentModel, '', start, duration); + } + + StartupExpectation.prototype = { + __proto__: tr.model.um.UserExpectation.prototype, + constructor: StartupExpectation + }; + + tr.model.um.UserExpectation.subTypes.register(StartupExpectation, { + stageTitle: 'Startup', + colorId: tr.b.ColorScheme.getColorIdForReservedName('startup') + }); + + return { + StartupExpectation, + }; +}); +</script> |