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

Unified Diff: webkit/extensions/v8/gc_extension.cc

Issue 10117022: Cleanup of v8 extension stuff. Playback extension is only used in chrome, so move it to chrome\rend… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « webkit/extensions/v8/gc_extension.h ('k') | webkit/extensions/v8/heap_profiler_extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/extensions/v8/gc_extension.cc
===================================================================
--- webkit/extensions/v8/gc_extension.cc (revision 132793)
+++ webkit/extensions/v8/gc_extension.cc (working copy)
@@ -1,27 +0,0 @@
-// Copyright (c) 2011 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.
-
-#include "webkit/extensions/v8/gc_extension.h"
-
-#include "v8/include/v8.h"
-
-const char kGCExtensionName[] = "v8/GCController";
-
-namespace extensions_v8 {
-
-// static
-v8::Extension* GCExtension::Get() {
- v8::Extension* extension = new v8::Extension(
- kGCExtensionName,
- "(function () {"
- " var v8_gc;"
- " if (gc) v8_gc = gc;"
- " GCController = new Object();"
- " GCController.collect ="
- " function() {if (v8_gc) v8_gc(); };"
- " })();");
- return extension;
-}
-
-} // namespace extensions_v8
« no previous file with comments | « webkit/extensions/v8/gc_extension.h ('k') | webkit/extensions/v8/heap_profiler_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698