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

Unified Diff: third_party/WebKit/Source/platform/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
Index: third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.cc
diff --git a/content/child/web_memory_allocator_dump_impl.cc b/third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.cc
similarity index 87%
rename from content/child/web_memory_allocator_dump_impl.cc
rename to third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.cc
index af9b57e4d9c691894108df1fd4881badc1fcd66a..87dc6927e05b5659950d951dd326684f0dfe0d8a 100644
--- a/content/child/web_memory_allocator_dump_impl.cc
+++ b/third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.cc
@@ -2,11 +2,11 @@
// 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 "platform/web_memory_allocator_dump_impl.h"
#include "base/trace_event/memory_allocator_dump.h"
-namespace content {
+namespace blink {
WebMemoryAllocatorDumpImpl::WebMemoryAllocatorDumpImpl(
base::trace_event::MemoryAllocatorDump* memory_allocator_dump)
@@ -35,7 +35,8 @@ void WebMemoryAllocatorDumpImpl::addString(const char* name,
memory_allocator_dump_->AddString(name, units, value.utf8());
}
-blink::WebMemoryAllocatorDumpGuid WebMemoryAllocatorDumpImpl::guid() const {
+WebMemoryAllocatorDumpGuid WebMemoryAllocatorDumpImpl::guid() const {
return guid_;
}
-} // namespace content
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698