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

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

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « content/renderer/memory_benchmarking_extension.h ('k') | content/renderer/menu_item_builder.cc » ('j') | 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) 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 "build/build_config.h"
7 #include "content/common/memory_benchmark_messages.h" 8 #include "content/common/memory_benchmark_messages.h"
8 #include "content/public/renderer/chrome_object_extensions_utils.h" 9 #include "content/public/renderer/chrome_object_extensions_utils.h"
9 #include "content/renderer/render_thread_impl.h" 10 #include "content/renderer/render_thread_impl.h"
10 #include "gin/arguments.h" 11 #include "gin/arguments.h"
11 #include "gin/handle.h" 12 #include "gin/handle.h"
12 #include "gin/object_template_builder.h" 13 #include "gin/object_template_builder.h"
13 #include "third_party/WebKit/public/web/WebFrame.h" 14 #include "third_party/WebKit/public/web/WebFrame.h"
14 #include "third_party/WebKit/public/web/WebKit.h" 15 #include "third_party/WebKit/public/web/WebKit.h"
15 16
16 #if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID)) 17 #if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID))
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 if (process_type == "browser") { 79 if (process_type == "browser") {
79 content::RenderThreadImpl::current()->Send( 80 content::RenderThreadImpl::current()->Send(
80 new MemoryBenchmarkHostMsg_HeapProfilerDump(reason)); 81 new MemoryBenchmarkHostMsg_HeapProfilerDump(reason));
81 } else { 82 } else {
82 ::HeapProfilerDump(reason.c_str()); 83 ::HeapProfilerDump(reason.c_str());
83 } 84 }
84 #endif 85 #endif
85 } 86 }
86 87
87 } // namespace content 88 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/memory_benchmarking_extension.h ('k') | content/renderer/menu_item_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698