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

Side by Side Diff: webkit/extensions/v8/heap_profiler_extension.cc

Issue 449016: Point #include lines to the new tcmalloc/chromium local branch.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add back webkit\DEPS after fresh restart Created 11 years 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 | Annotate | Revision Log
« no previous file with comments | « webkit/DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/extensions/v8/heap_profiler_extension.h" 5 #include "webkit/extensions/v8/heap_profiler_extension.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 #if defined(LINUX_USE_TCMALLOC) 9 #if defined(LINUX_USE_TCMALLOC)
10 #include "third_party/tcmalloc/tcmalloc/src/google/heap-profiler.h" 10 #include "third_party/tcmalloc/chromium/src/google/heap-profiler.h"
11 #endif 11 #endif
12 12
13 namespace extensions_v8 { 13 namespace extensions_v8 {
14 14
15 namespace { 15 namespace {
16 16
17 const char kHeapProfilerExtensionName[] = "v8/HeapProfiler"; 17 const char kHeapProfilerExtensionName[] = "v8/HeapProfiler";
18 18
19 class HeapProfilerWrapper : public v8::Extension { 19 class HeapProfilerWrapper : public v8::Extension {
20 public: 20 public:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 #endif 102 #endif
103 }; 103 };
104 104
105 } // namespace 105 } // namespace
106 106
107 v8::Extension* HeapProfilerExtension::Get() { 107 v8::Extension* HeapProfilerExtension::Get() {
108 return new HeapProfilerWrapper; 108 return new HeapProfilerWrapper;
109 } 109 }
110 110
111 } // namespace extensions_v8 111 } // namespace extensions_v8
OLDNEW
« no previous file with comments | « webkit/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698