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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.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/platform/v8_inspector/public/V8DebuggerAgent.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h
index c05ab714ac25ae67c2400c1cc35894d53f825fe5..15eaca8372814bb3fc39382286ebffa87dcdd8eb 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerAgent.h
@@ -21,11 +21,11 @@ public:
virtual ~V8DebuggerAgent() { }
// API for the embedder to report native activities.
- virtual void schedulePauseOnNextStatement(const String& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0;
+ virtual void schedulePauseOnNextStatement(const String16& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0;
virtual void cancelPauseOnNextStatement() = 0;
virtual bool canBreakProgram() = 0;
- virtual void breakProgram(const String& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0;
- virtual void breakProgramOnException(const String& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0;
+ virtual void breakProgram(const String16& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0;
+ virtual void breakProgramOnException(const String16& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0;
virtual void willExecuteScript(int scriptId) = 0;
virtual void didExecuteScript() = 0;
virtual void reset() = 0;
@@ -36,7 +36,7 @@ public:
// Async call stacks implementation
static const int unknownAsyncOperationId;
- virtual int traceAsyncOperationStarting(const String& description) = 0;
+ virtual int traceAsyncOperationStarting(const String16& description) = 0;
virtual void traceAsyncCallbackStarting(int operationId) = 0;
virtual void traceAsyncCallbackCompleted() = 0;
virtual void traceAsyncOperationCompleted(int operationId) = 0;

Powered by Google App Engine
This is Rietveld 408576698