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

Issue 1957053002: DevTools: simplify NetworkProject.addFileForURL method (Closed)

Created:
4 years, 7 months ago by lushnikov
Modified:
4 years, 7 months ago
Reviewers:
dgozman, pfeldman
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, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: simplify NetworkProject.addFileForURL method The first "url" parameter of NetworkProject.addFileForURL method is not needed - contentProvider already have associated URL. As the "url" parameter goes away, this patch also renames addFileForURL(url, contentProvider, frame) into addFile(contentProvider, frame). BUG=610061 R=pfeldman Committed: https://crrev.com/ecff28a9f64c5657409fc62bfda4ed5c328581e3 Cr-Commit-Position: refs/heads/master@{#392509}

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 4

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -46 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/switch-file.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/ui-source-code-display-name.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js View 1 5 chunks +11 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/common/StaticContentProvider.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sass/ASTSourceMap.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatterEditorAction.js View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (12 generated)
lushnikov
please, take a look!
4 years, 7 months ago (2016-05-07 10:18:01 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957053002/20001
4 years, 7 months ago (2016-05-07 10:18:16 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/225135)
4 years, 7 months ago (2016-05-07 11:14:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957053002/20001
4 years, 7 months ago (2016-05-09 20:51:34 UTC) #10
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 7 months ago (2016-05-09 20:51:36 UTC) #12
lushnikov
Dmitry, please take a look!
4 years, 7 months ago (2016-05-09 21:36:00 UTC) #14
dgozman
lgtm https://codereview.chromium.org/1957053002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js File third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js (right): https://codereview.chromium.org/1957053002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js#newcode243 third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js:243: return new WebInspector.StaticContentProvider(WebInspector.resourceTypes.WebSocket, this._dataText, ""); Let's use request ...
4 years, 7 months ago (2016-05-09 21:55:35 UTC) #15
lushnikov
https://codereview.chromium.org/1957053002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js File third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js (right): https://codereview.chromium.org/1957053002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js#newcode243 third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js:243: return new WebInspector.StaticContentProvider(WebInspector.resourceTypes.WebSocket, this._dataText, ""); On 2016/05/09 21:55:35, dgozman ...
4 years, 7 months ago (2016-05-09 22:07:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957053002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957053002/40001
4 years, 7 months ago (2016-05-09 22:07:50 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-10 01:32:44 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 01:34:28 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ecff28a9f64c5657409fc62bfda4ed5c328581e3
Cr-Commit-Position: refs/heads/master@{#392509}

Powered by Google App Engine
This is Rietveld 408576698