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

Side by Side Diff: content/renderer/memory_benchmarking_extension.cc

Issue 16756003: Use a direct include of strings headers in content/renderer and content/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/renderer/memory_benchmarking_extension.h" 5 #include "content/renderer/memory_benchmarking_extension.h"
6 6
7 #include "base/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "content/common/memory_benchmark_messages.h" 8 #include "content/common/memory_benchmark_messages.h"
9 #include "content/renderer/render_thread_impl.h" 9 #include "content/renderer/render_thread_impl.h"
10 10
11 #if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID)) 11 #if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID))
12 12
13 #include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h" 13 #include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h"
14 14
15 namespace { 15 namespace {
16 16
17 const char kMemoryBenchmarkingExtensionName[] = "v8/MemoryBenchmarking"; 17 const char kMemoryBenchmarkingExtensionName[] = "v8/MemoryBenchmarking";
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 namespace content { 78 namespace content {
79 79
80 v8::Extension* MemoryBenchmarkingExtension::Get() { 80 v8::Extension* MemoryBenchmarkingExtension::Get() {
81 return new MemoryBenchmarkingWrapper(); 81 return new MemoryBenchmarkingWrapper();
82 } 82 }
83 83
84 } // namespace content 84 } // namespace content
85 85
86 #endif // defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID)) 86 #endif // defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID))
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc_audio_renderer.cc ('k') | content/renderer/notification_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698