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

Unified Diff: components/tracing/child_memory_dump_manager_delegate_impl.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/toolbar/toolbar_model.h ('k') | components/tracing/child_memory_dump_manager_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/tracing/child_memory_dump_manager_delegate_impl.h
diff --git a/components/tracing/child_memory_dump_manager_delegate_impl.h b/components/tracing/child_memory_dump_manager_delegate_impl.h
index 8150a07f3335a1e7d616cf9d102290f27fdd3ccb..9a4dc6ba8d9377b9dc32d3c873a87b474f3928f5 100644
--- a/components/tracing/child_memory_dump_manager_delegate_impl.h
+++ b/components/tracing/child_memory_dump_manager_delegate_impl.h
@@ -7,6 +7,9 @@
#include "base/trace_event/memory_dump_manager.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/singleton.h"
#include "base/synchronization/lock.h"
@@ -35,12 +38,12 @@ class TRACING_EXPORT ChildMemoryDumpManagerDelegateImpl
void RequestGlobalMemoryDump(
const base::trace_event::MemoryDumpRequestArgs& args,
const base::trace_event::MemoryDumpCallback& callback) override;
- uint64 GetTracingProcessId() const override;
+ uint64_t GetTracingProcessId() const override;
void SetChildTraceMessageFilter(ChildTraceMessageFilter* ctmf);
// Pass kInvalidTracingProcessId to invalidate the id.
- void set_tracing_process_id(uint64 id) {
+ void set_tracing_process_id(uint64_t id) {
DCHECK(tracing_process_id_ ==
base::trace_event::MemoryDumpManager::kInvalidTracingProcessId ||
id ==
@@ -72,7 +75,7 @@ class TRACING_EXPORT ChildMemoryDumpManagerDelegateImpl
// The unique id of the child process, created for tracing and is expected to
// be valid only when tracing is enabled.
- uint64 tracing_process_id_;
+ uint64_t tracing_process_id_;
DISALLOW_COPY_AND_ASSIGN(ChildMemoryDumpManagerDelegateImpl);
};
« no previous file with comments | « components/toolbar/toolbar_model.h ('k') | components/tracing/child_memory_dump_manager_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698