Chromium Code Reviews
Description[DevTools] migrate RenderingAgent and EmulationAgent to new style
Replace in header:
void ([a-zA-Z]+)\(\s*ErrorString\*(?: error(?:String)?)?,? ?
Response \1(
Replace in implementation:
void ([a-zA-Z]+)::([a-zA-Z]+)\(\s*ErrorString\*(?: error(?:String)?)?,? ?
Response \1::\2(
Replace in header and implementation:
const (?:protocol::)?Maybe<([^>]+)>&
Maybe<\1>
Remove in implementation:
&error,? ?
Replace in implementation:
\*error(?:String)? = ("[^"]+");\s+return;
return Response::Error(\1);
Added return Response::OK at the end of functions.
BUG=none
R=dgozman@chromium.org
Committed: https://crrev.com/bebd3b443427ad8e03dd26d901060abe35354140
Cr-Commit-Position: refs/heads/master@{#429195}
Patch Set 1 #Patch Set 2 : rebased #
Dependent Patchsets: Messages
Total messages: 11 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||