Enterprise policy: Ignore the deprecated ForceSafeSearch if ForceGoogleSafeSearch...
[chromium-blink-merge.git] / base / trace_event / process_memory_totals.cc
blob9b0c3776eea2aefae9f8bc050b68a04e5ba6b46b
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/trace_event/process_memory_totals.h"
7 #include "base/format_macros.h"
8 #include "base/strings/stringprintf.h"
9 #include "base/trace_event/trace_event_argument.h"
11 namespace base {
12 namespace trace_event {
14 void ProcessMemoryTotals::AsValueInto(TracedValue* value) const {
15 value->SetString("resident_set_bytes",
16 StringPrintf("%" PRIx64, resident_set_bytes_));
19 } // namespace trace_event
20 } // namespace base