1<!DOCTYPE html>
2<!--
3Copyright (c) 2015 The Chromium Authors. All rights reserved.
4Use of this source code is governed by a BSD-style license that can be
5found in the LICENSE file.
6-->
7
8<link rel="import" href="/tracing/model/user_model/user_expectation.html">
9
10<script>
11'use strict';
12
13tr.exportTo('tr.model.um', function() {
14  function IdleExpectation(parentModel, start, duration) {
15    var initiatorTitle = '';
16    tr.model.um.UserExpectation.call(
17        this, parentModel, initiatorTitle, start, duration);
18  }
19
20  IdleExpectation.prototype = {
21    __proto__: tr.model.um.UserExpectation.prototype,
22    constructor: IdleExpectation
23  };
24
25  tr.model.um.UserExpectation.register(IdleExpectation, {
26    stageTitle: 'Idle',
27    colorId: tr.b.ColorScheme.getColorIdForReservedName('rail_idle')
28  });
29
30  return {
31    IdleExpectation: IdleExpectation
32  };
33});
34</script>
35