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

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

Issue 1730383003: DevTools: consistently use Maybe for optional values in the protocol generator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed 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/V8DebuggerImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h
index 6c421bac1b6fb4cea72fa00ac85172fedc4c88cb..a4959a9eb4c980726ca4d14dab1bd3e7a570d0a8 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.h
@@ -42,7 +42,7 @@
namespace blink {
-using protocol::OptionalValue;
+using protocol::Maybe;
class JavaScriptCallFrame;
struct ScriptBreakpoint;
@@ -80,7 +80,7 @@ public:
void stepOutOfFunction();
void clearStepping();
- bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, OwnPtr<protocol::Debugger::SetScriptSourceError>*, v8::Global<v8::Object>* newCallFrames, OptionalValue<bool>* stackChanged);
+ bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, Maybe<protocol::Debugger::SetScriptSourceError>*, v8::Global<v8::Object>* newCallFrames, Maybe<bool>* stackChanged);
v8::Local<v8::Object> currentCallFrames();
v8::Local<v8::Object> currentCallFramesForAsyncStack();
PassRefPtr<JavaScriptCallFrame> callFrameNoScopes(int index);

Powered by Google App Engine
This is Rietveld 408576698