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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h

Issue 1702673002: DevTools: migrate remote debugging protocol generators to jinja2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/v8_inspector/V8HeapProfilerAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
index 0673f38ec908512e9d358f3f3f89462f79700191..d506a4c28c7f858ef35acf374727492a806f4edb 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.h
@@ -29,19 +29,19 @@ public:
void collectGarbage(ErrorString*) override;
void enable(ErrorString*) override;
- void startTrackingHeapObjects(ErrorString*, const bool* trackAllocations) override;
- void stopTrackingHeapObjects(ErrorString*, const bool* reportProgress) override;
+ void startTrackingHeapObjects(ErrorString*, const protocol::TypeBuilder::OptionalValue<bool>& trackAllocations) override;
+ void stopTrackingHeapObjects(ErrorString*, const protocol::TypeBuilder::OptionalValue<bool>& reportProgress) override;
void disable(ErrorString*) override;
- void takeHeapSnapshot(ErrorString*, const bool* reportProgress) override;
+ void takeHeapSnapshot(ErrorString*, const protocol::TypeBuilder::OptionalValue<bool>& reportProgress) override;
- void getObjectByHeapObjectId(ErrorString*, const String& heapSnapshotObjectId, const String* objectGroup, RefPtr<protocol::TypeBuilder::Runtime::RemoteObject>& result) override;
+ void getObjectByHeapObjectId(ErrorString*, const String& heapSnapshotObjectId, const protocol::TypeBuilder::OptionalValue<String>& objectGroup, OwnPtr<protocol::TypeBuilder::Runtime::RemoteObject>* result) override;
void addInspectedHeapObject(ErrorString*, const String& inspectedHeapObjectId) override;
void getHeapObjectId(ErrorString*, const String& objectId, String* heapSnapshotObjectId) override;
void startSampling(ErrorString*) override;
- void stopSampling(ErrorString*, RefPtr<protocol::TypeBuilder::HeapProfiler::SamplingHeapProfile>&) override;
+ void stopSampling(ErrorString*, OwnPtr<protocol::TypeBuilder::HeapProfiler::SamplingHeapProfile>*) override;
void requestHeapStatsUpdate() override;

Powered by Google App Engine
This is Rietveld 408576698