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

Unified Diff: third_party/WebKit/public/platform/Platform.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: Move implementation from static functions to member functions as default impl 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/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index e787ce08524755a27fdb2a76b30f9ee5b5358acf..65d7b04653f611483a7bd3d278101651c38a702d 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -422,10 +422,10 @@ public:
// registerMemoryDumpProvider() method. |name| is used for debugging
// (duplicates are allowed) and must be a long-lived C string.
// See crbug.com/458295 for design docs.
- virtual void registerMemoryDumpProvider(blink::WebMemoryDumpProvider*, const char* name) { }
+ BLINK_PLATFORM_EXPORT virtual void registerMemoryDumpProvider(blink::WebMemoryDumpProvider*, const char* name);
// Must be called on the thread that called registerMemoryDumpProvider().
- virtual void unregisterMemoryDumpProvider(blink::WebMemoryDumpProvider*) { }
+ BLINK_PLATFORM_EXPORT virtual void unregisterMemoryDumpProvider(blink::WebMemoryDumpProvider*);
class TraceLogEnabledStateObserver {
public:
@@ -438,9 +438,6 @@ public:
virtual void addTraceLogEnabledStateObserver(TraceLogEnabledStateObserver*) {}
virtual void removeTraceLogEnabledStateObserver(TraceLogEnabledStateObserver*) {}
- // Returns a newly allocated WebProcessMemoryDump instance.
- virtual blink::WebProcessMemoryDump* createProcessMemoryDump() { return nullptr; }
-
typedef uint64_t WebMemoryAllocatorDumpGuid;
// Returns guid corresponding to the given string (the hash value) for

Powered by Google App Engine
This is Rietveld 408576698