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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 Created 4 years, 9 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/core/inspector/InspectorHeapProfilerAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
index eb5dec1c9376e8e8eb17fff67eb39816ceea843a..593de177119c2c69ce8ca1bcb7a52ee5385ebc53 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
@@ -47,8 +47,6 @@ namespace blink {
class V8HeapProfilerAgent;
class V8RuntimeAgent;
-typedef String ErrorString;
-
class CORE_EXPORT InspectorHeapProfilerAgent final : public InspectorBaseAgent<InspectorHeapProfilerAgent, protocol::Frontend::HeapProfiler>, public protocol::Dispatcher::HeapProfilerCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorHeapProfilerAgent);
USING_FAST_MALLOC_WILL_BE_REMOVED(InspectorHeapProfilerAgent);
@@ -68,9 +66,9 @@ public:
void stopTrackingHeapObjects(ErrorString*, const Maybe<bool>& reportProgress) override;
void takeHeapSnapshot(ErrorString*, const Maybe<bool>& reportProgress) override;
void collectGarbage(ErrorString*) override;
- void getObjectByHeapObjectId(ErrorString*, const String& objectId, const Maybe<String>& objectGroup, OwnPtr<protocol::Runtime::RemoteObject>* result) override;
- void addInspectedHeapObject(ErrorString*, const String& heapObjectId) override;
- void getHeapObjectId(ErrorString*, const String& objectId, String* heapSnapshotObjectId) override;
+ void getObjectByHeapObjectId(ErrorString*, const String16& objectId, const Maybe<String16>& objectGroup, OwnPtr<protocol::Runtime::RemoteObject>* result) override;
+ void addInspectedHeapObject(ErrorString*, const String16& heapObjectId) override;
+ void getHeapObjectId(ErrorString*, const String16& objectId, String16* heapSnapshotObjectId) override;
void startSampling(ErrorString*) override;
void stopSampling(ErrorString*, OwnPtr<protocol::HeapProfiler::SamplingHeapProfile>*) override;

Powered by Google App Engine
This is Rietveld 408576698