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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/product_registry/ProductRegistry.js

Issue 2839273003: [Devtools] New structure and colorize rows for network products (Closed)
Patch Set: Merge remote-tracking branch 'origin/master' into NEW_DEPENDENCY_PRODUCTS Created 3 years, 7 months 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 /**
5 * @return {!Promise<!ProductRegistry.Registry>}
6 */
7 ProductRegistry.instance = function() {
8 return self.runtime.extension(ProductRegistry.Registry).instance();
9 };
10
11 /**
12 * @interface
13 */
14 ProductRegistry.Registry = function() {};
15
16 ProductRegistry.Registry.prototype = {
17 /**
18 * @param {!Common.ParsedURL} parsedUrl
19 * @return {?string}
20 */
21 nameForUrl: function(parsedUrl) {},
22
23 /**
24 * @param {!Common.ParsedURL} parsedUrl
25 * @return {?ProductRegistry.Registry.ProductEntry}
26 */
27 entryForUrl: function(parsedUrl) {},
28
29 /**
30 * @param {!Common.ParsedURL} parsedUrl
31 * @return {?number}
32 */
33 typeForUrl: function(parsedUrl) {},
34
35 /**
36 * @param {!SDK.ResourceTreeFrame} frame
37 * @return {?ProductRegistry.Registry.ProductEntry}
38 */
39 entryForFrame: function(frame) {}
40 };
41
42 /** @typedef {!{name: string, type: ?number}} */
43 ProductRegistry.Registry.ProductEntry;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698