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

Unified Diff: third_party/WebKit/Source/platform/web_memory_dump_provider_adapter.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_dump_provider_adapter.h
diff --git a/content/child/web_memory_dump_provider_adapter.h b/third_party/WebKit/Source/platform/web_memory_dump_provider_adapter.h
similarity index 87%
rename from content/child/web_memory_dump_provider_adapter.h
rename to third_party/WebKit/Source/platform/web_memory_dump_provider_adapter.h
index b1c0813869a2e600774661250f943903f530fef4..6cb0d3c0e551f5b1546aff78d956cbab22aa8967 100644
--- a/content/child/web_memory_dump_provider_adapter.h
+++ b/third_party/WebKit/Source/platform/web_memory_dump_provider_adapter.h
@@ -2,17 +2,15 @@
// 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_DUMP_PROVIDER_ADAPTER_H_
-#define CONTENT_CHILD_WEB_MEMORY_DUMP_PROVIDER_ADAPTER_H_
+#ifndef WebMemoryDumpProviderAdapter_h
+#define WebMemoryDumpProviderAdapter_h
#include "base/macros.h"
#include "base/trace_event/memory_dump_provider.h"
namespace blink {
-class WebMemoryDumpProvider;
-} // namespace blink
-namespace content {
+class WebMemoryDumpProvider;
// Adapter class which makes it possible to register a WebMemoryDumpProvider (
// from blink) to base::trace_event::MemoryDumpManager, which expects a
@@ -44,6 +42,6 @@ class WebMemoryDumpProviderAdapter
DISALLOW_COPY_AND_ASSIGN(WebMemoryDumpProviderAdapter);
};
-} // namespace content
+} // namespace blink
-#endif // CONTENT_CHILD_WEB_MEMORY_DUMP_PROVIDER_ADAPTER_H_
+#endif // WebMemoryDumpProviderAdapter_h

Powered by Google App Engine
This is Rietveld 408576698