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

Issue 2466963002: [DevTools] migrate NetworkAgent to new style (Closed)

Created:
4 years, 1 month ago by kozy
Modified:
4 years, 1 month ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] migrate NetworkAgent 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); Replace in implementation: sendFailure\(("[^"]+")\) sendFailure(Response::Error(\1)) Added return Response::OK at the end of functions. BUG=none R=dgozman@chromium.org Committed: https://crrev.com/f94799b234e478daa578dd91458b6908a758dfb6 Cr-Commit-Position: refs/heads/master@{#429214}

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebased #

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -69 lines) Patch
M third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h View 1 chunk +21 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp View 1 2 12 chunks +49 lines, -41 lines 0 comments Download
M third_party/inspector_protocol/CodeGenerator.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/inspector_protocol/README.chromium View 1 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 9 (3 generated)
kozy
Dmitry, please take a look.
4 years, 1 month ago (2016-11-01 18:00:35 UTC) #1
dgozman
lgtm https://codereview.chromium.org/2466963002/diff/1/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp (right): https://codereview.chromium.org/2466963002/diff/1/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp#newcode1167 third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp:1167: return Response::Error("Invalid characters found in userAgent"); Keep {} ...
4 years, 1 month ago (2016-11-01 18:42:02 UTC) #2
kozy
All done. https://codereview.chromium.org/2466963002/diff/1/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp (right): https://codereview.chromium.org/2466963002/diff/1/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp#newcode1167 third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp:1167: return Response::Error("Invalid characters found in userAgent"); On ...
4 years, 1 month ago (2016-11-02 04:13:30 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2466963002/40001
4 years, 1 month ago (2016-11-02 04:14:16 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-02 05:31:18 UTC) #7
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 05:33:22 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f94799b234e478daa578dd91458b6908a758dfb6
Cr-Commit-Position: refs/heads/master@{#429214}

Powered by Google App Engine
This is Rietveld 408576698