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

Unified Diff: content/child/web_memory_allocator_dump_impl.cc

Issue 1660383002: Refactoring: Move some classes from content/child to platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add PLATFORM_EXPORT; Address haraken's review Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/web_memory_allocator_dump_impl.h ('k') | content/child/web_memory_dump_provider_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_memory_allocator_dump_impl.cc
diff --git a/content/child/web_memory_allocator_dump_impl.cc b/content/child/web_memory_allocator_dump_impl.cc
deleted file mode 100644
index af9b57e4d9c691894108df1fd4881badc1fcd66a..0000000000000000000000000000000000000000
--- a/content/child/web_memory_allocator_dump_impl.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/child/web_memory_allocator_dump_impl.h"
-
-#include "base/trace_event/memory_allocator_dump.h"
-
-namespace content {
-
-WebMemoryAllocatorDumpImpl::WebMemoryAllocatorDumpImpl(
- base::trace_event::MemoryAllocatorDump* memory_allocator_dump)
- : memory_allocator_dump_(memory_allocator_dump),
- guid_(memory_allocator_dump->guid().ToUint64()) {
-}
-
-WebMemoryAllocatorDumpImpl::~WebMemoryAllocatorDumpImpl() {
-}
-
-void WebMemoryAllocatorDumpImpl::addScalar(const char* name,
- const char* units,
- uint64_t value) {
- memory_allocator_dump_->AddScalar(name, units, value);
-}
-
-void WebMemoryAllocatorDumpImpl::addScalarF(const char* name,
- const char* units,
- double value) {
- memory_allocator_dump_->AddScalarF(name, units, value);
-}
-
-void WebMemoryAllocatorDumpImpl::addString(const char* name,
- const char* units,
- const blink::WebString& value) {
- memory_allocator_dump_->AddString(name, units, value.utf8());
-}
-
-blink::WebMemoryAllocatorDumpGuid WebMemoryAllocatorDumpImpl::guid() const {
- return guid_;
-}
-} // namespace content
« no previous file with comments | « content/child/web_memory_allocator_dump_impl.h ('k') | content/child/web_memory_dump_provider_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698