Index: src/inspector/v8-profiler-agent-impl.h |
diff --git a/src/inspector/v8-profiler-agent-impl.h b/src/inspector/v8-profiler-agent-impl.h |
index ee8997653af5183b50c05f425a3c8c0f0b7435a2..a634ff3cd9f5eebe9a3bbfb93442f90cb8d41ef1 100644 |
--- a/src/inspector/v8-profiler-agent-impl.h |
+++ b/src/inspector/v8-profiler-agent-impl.h |
@@ -20,7 +20,7 @@ namespace v8_inspector { |
class V8InspectorSessionImpl; |
-using protocol::ErrorString; |
+using protocol::Response; |
class V8ProfilerAgentImpl : public protocol::Profiler::Backend { |
public: |
@@ -31,12 +31,11 @@ class V8ProfilerAgentImpl : public protocol::Profiler::Backend { |
bool enabled() const { return m_enabled; } |
void restore(); |
- void enable(ErrorString*) override; |
- void disable(ErrorString*) override; |
- void setSamplingInterval(ErrorString*, int) override; |
- void start(ErrorString*) override; |
- void stop(ErrorString*, |
- std::unique_ptr<protocol::Profiler::Profile>*) override; |
+ Response enable() override; |
+ Response disable() override; |
+ Response setSamplingInterval(int) override; |
+ Response start() override; |
+ Response stop(std::unique_ptr<protocol::Profiler::Profile>*) override; |
void consoleProfile(const String16& title); |
void consoleProfileEnd(const String16& title); |