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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/components_lazy/FilmStripModel.js

Issue 2464283002: DevTools: clang format all the source + clang config landed (2) (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The Chromium Authors. All rights reserved. 2 * Copyright 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6
6 /** 7 /**
7 * @unrestricted 8 * @unrestricted
8 */ 9 */
9 WebInspector.FilmStripModel = class { 10 WebInspector.FilmStripModel = class {
10 /** 11 /**
11 * @param {!WebInspector.TracingModel} tracingModel 12 * @param {!WebInspector.TracingModel} tracingModel
12 * @param {number=} zeroTime 13 * @param {number=} zeroTime
13 */ 14 */
14 constructor(tracingModel, zeroTime) { 15 constructor(tracingModel, zeroTime) {
15 this.reset(tracingModel, zeroTime); 16 this.reset(tracingModel, zeroTime);
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 /** 139 /**
139 * @return {!Promise<?string>} 140 * @return {!Promise<?string>}
140 */ 141 */
141 imageDataPromise() { 142 imageDataPromise() {
142 if (this._imageData || !this._snapshot) 143 if (this._imageData || !this._snapshot)
143 return Promise.resolve(this._imageData); 144 return Promise.resolve(this._imageData);
144 145
145 return /** @type {!Promise<?string>} */ (this._snapshot.objectPromise()); 146 return /** @type {!Promise<?string>} */ (this._snapshot.objectPromise());
146 } 147 }
147 }; 148 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698