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

Issue 2801943003: [DevTools] Remove SDK.SDKObject (Closed)

Created:
3 years, 8 months ago by dgozman
Modified:
3 years, 8 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, dougt+watch_chromium.org, chromium-apps-reviews_chromium.org, caseq+blink_chromium.org, blink-reviews-style_chromium.org, aboxhall, extensions-reviews_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, lushnikov+blink_chromium.org, yuzo+watch_chromium.org, pfeldman+blink_chromium.org, nektarios, dmazzoni, apavlov+blink_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, devtools-reviews_chromium.org, blink-reviews, je_julie, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Remove SDK.SDKObject We have a few users of it, which are better to use underlying models. We also have a log of SDKObject's like classes which do not inherit from SDKObject - that means this abstraction doesn't really work. As a bonus, we only inherit from Common.Object when necessary, reducing the overhead. BUG=none Review-Url: https://codereview.chromium.org/2801943003 Cr-Commit-Position: refs/heads/master@{#462949} Committed: https://chromium.googlesource.com/chromium/src/+/91588b92f697f08d822778db08d05886a23c51fe

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -130 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/network-datareceived.html View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/network-xhr-data-received-async-response-type-blob.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/network-xsl-content.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/waterfall-images.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/network/network-filter-updated-requests.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/network/network-status-non-http.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/network/network-update-calculator-for-all-requests.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityModel.js View 3 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js View 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/audits/AuditController.js View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js View 8 chunks +9 lines, -9 lines 1 comment Download
M third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console_model/ConsoleModel.js View 1 chunk +2 lines, -1 line 1 comment Download
M third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js View 3 chunks +7 lines, -4 lines 1 comment Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js View 6 chunks +15 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network_group_lookup/NetworkProductGroupLookup.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network_log/NetworkLog.js View 11 chunks +32 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ApplicationPanelSidebar.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ResourcesSection.js View 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js View 4 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/Resource.js View 4 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js View 5 chunks +14 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/SourceMapManager.js View 4 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/Target.js View 2 chunks +1 line, -13 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
dgozman
Could you please take a look?
3 years, 8 months ago (2017-04-06 22:18:18 UTC) #3
pfeldman
https://codereview.chromium.org/2801943003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js File third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js (right): https://codereview.chromium.org/2801943003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js#newcode71 third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js:71: this._target = target; I don't think it makes sense ...
3 years, 8 months ago (2017-04-07 18:36:03 UTC) #8
pfeldman
lgtm
3 years, 8 months ago (2017-04-07 18:51:34 UTC) #9
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/2801943003/1
3 years, 8 months ago (2017-04-07 18:56:14 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 19:07:45 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/91588b92f697f08d822778db08d0...

Powered by Google App Engine
This is Rietveld 408576698