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

Unified Diff: third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.h

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.h
diff --git a/content/child/web_memory_allocator_dump_impl.h b/third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.h
similarity index 82%
rename from content/child/web_memory_allocator_dump_impl.h
rename to third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.h
index d9724035203aad5d4e9a0611c050ff41b98e4c75..8e38baf26dafdc58b4bdab32f0f7437de95d5b96 100644
--- a/content/child/web_memory_allocator_dump_impl.h
+++ b/third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_CHILD_WEB_MEMORY_ALLOCATOR_DUMP_IMPL_H_
-#define CONTENT_CHILD_WEB_MEMORY_ALLOCATOR_DUMP_IMPL_H_
+#ifndef WebMemoryAllocatorDumpImpl_h
+#define WebMemoryAllocatorDumpImpl_h
#include <stdint.h>
#include "base/macros.h"
-#include "third_party/WebKit/public/platform/WebMemoryAllocatorDump.h"
+#include "public/platform/WebMemoryAllocatorDump.h"
namespace base {
namespace trace_event {
@@ -16,7 +16,7 @@ class MemoryAllocatorDump;
} // namespace base
} // namespace trace_event
-namespace content {
+namespace blink {
// Implements the blink::WebMemoryAllocatorDump interface by means of proxying
// the Add*() calls to the underlying base::trace_event::MemoryAllocatorDump
@@ -43,6 +43,6 @@ class WebMemoryAllocatorDumpImpl : public blink::WebMemoryAllocatorDump {
DISALLOW_COPY_AND_ASSIGN(WebMemoryAllocatorDumpImpl);
};
-} // namespace content
+} // namespace blink
-#endif // CONTENT_CHILD_WEB_MEMORY_ALLOCATOR_DUMP_IMPL_H_
+#endif // WebMemoryAllocatorDumpImpl_h

Powered by Google App Engine
This is Rietveld 408576698