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

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

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fix externs (PerfUI) Created 3 years, 11 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 2016 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 /**
6 * @implements {UI.ActionDelegate}
7 */
8 Components.GCActionDelegate = class {
9 /**
10 * @override
11 * @param {!UI.Context} context
12 * @param {string} actionId
13 * @return {boolean}
14 */
15 handleAction(context, actionId) {
16 SDK.targetManager.targets().forEach(target => target.heapProfilerAgent().col lectGarbage());
17 return true;
18 }
19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698