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

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

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fixes 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/components_lazy/GCActionDelegate.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components_lazy/GCActionDelegate.js b/third_party/WebKit/Source/devtools/front_end/components_lazy/GCActionDelegate.js
deleted file mode 100644
index 966002dd4af4fed381386f5c5b11e31cd5c1c829..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/devtools/front_end/components_lazy/GCActionDelegate.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2016 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.
-
-/**
- * @implements {UI.ActionDelegate}
- */
-Components.GCActionDelegate = class {
- /**
- * @override
- * @param {!UI.Context} context
- * @param {string} actionId
- * @return {boolean}
- */
- handleAction(context, actionId) {
- SDK.targetManager.targets().forEach(target => target.heapProfilerAgent().collectGarbage());
- return true;
- }
-};

Powered by Google App Engine
This is Rietveld 408576698