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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.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/V8ProfilerAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
index 032b305f25a45b69fdfebac95b2d26a9fc697802..de6b6cebccccfccb33590a986b04b7df6aa422aa 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
@@ -34,7 +34,7 @@ public:
void disable(ErrorString*) override;
void setSamplingInterval(ErrorString*, int) override;
void start(ErrorString*) override;
- void stop(ErrorString*, RefPtr<protocol::TypeBuilder::Profiler::CPUProfile>&) override;
+ void stop(ErrorString*, OwnPtr<protocol::Profiler::CPUProfile>*) override;
void consoleProfile(const String& title) override;
void consoleProfileEnd(const String& title) override;
@@ -43,11 +43,10 @@ public:
void idleFinished();
private:
- void stop(ErrorString*, RefPtr<protocol::TypeBuilder::Profiler::CPUProfile>*);
String nextProfileId();
void startProfiling(const String& title);
- PassRefPtr<protocol::TypeBuilder::Profiler::CPUProfile> stopProfiling(const String& title, bool serialize);
+ PassOwnPtr<protocol::Profiler::CPUProfile> stopProfiling(const String& title, bool serialize);
bool isRecording() const;

Powered by Google App Engine
This is Rietveld 408576698