Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / base / trace_event / process_memory_totals.cc
blobcfa8f7eaa3ba142b781800738172d1c9b12ca312
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 void ProcessMemoryTotals::Clear() {
20 resident_set_bytes_ = 0;
23 } // namespace trace_event
24 } // namespace base