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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.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/core/inspector/InspectorDOMDebuggerAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
index 12d78eae1ac376e5cc6b9f5f6c4fce1c54c1c10f..5ce5f84745187f63f6065c4c4a3f06edcb223aa5 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h
@@ -68,8 +68,8 @@ public:
// DOMDebugger API for InspectorFrontend
void setDOMBreakpoint(ErrorString*, int nodeId, const String& type) override;
void removeDOMBreakpoint(ErrorString*, int nodeId, const String& type) override;
- void setEventListenerBreakpoint(ErrorString*, const String& eventName, const OptionalValue<String>& targetName) override;
- void removeEventListenerBreakpoint(ErrorString*, const String& eventName, const OptionalValue<String>& targetName) override;
+ void setEventListenerBreakpoint(ErrorString*, const String& eventName, const Maybe<String>& targetName) override;
+ void removeEventListenerBreakpoint(ErrorString*, const String& eventName, const Maybe<String>& targetName) override;
void setInstrumentationBreakpoint(ErrorString*, const String& eventName) override;
void removeInstrumentationBreakpoint(ErrorString*, const String& eventName) override;
void setXHRBreakpoint(ErrorString*, const String& url) override;

Powered by Google App Engine
This is Rietveld 408576698