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

Unified Diff: third_party/WebKit/Source/web/InspectorEmulationAgent.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: more exports 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/web/InspectorEmulationAgent.h
diff --git a/third_party/WebKit/Source/web/InspectorEmulationAgent.h b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
index 36e2ce69f67807be13789ae2d6f0a46a98f9ad6c..540cdf30f9d17388153354e4d7da9af201ad0ce1 100644
--- a/third_party/WebKit/Source/web/InspectorEmulationAgent.h
+++ b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
@@ -31,7 +31,7 @@ public:
void resetPageScaleFactor(ErrorString*) override;
void setPageScaleFactor(ErrorString*, double in_pageScaleFactor) override;
void setScriptExecutionDisabled(ErrorString*, bool in_value) override;
- void setTouchEmulationEnabled(ErrorString*, bool in_enabled, const protocol::OptionalValue<String>& in_configuration) override;
+ void setTouchEmulationEnabled(ErrorString*, bool in_enabled, const protocol::Maybe<String>& in_configuration) override;
void setEmulatedMedia(ErrorString*, const String& in_media) override;
void setCPUThrottlingRate(ErrorString*, double in_rate) override;

Powered by Google App Engine
This is Rietveld 408576698