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

Issue 2164553002: Refactoring: Hide or remove some methods of Resource (Closed)

Created:
4 years, 5 months ago by hajimehoshi
Modified:
4 years, 5 months ago
Reviewers:
hiroshige, Mike West
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring: Hide or remove some methods of Resource This CL hides or removes some methods of Resource for code health. There was only one usage of resourceTypeName, which was removed at crrev.com/1889973002. BUG=n/a Committed: https://crrev.com/d8232ee902862b691d958d5cc66670a8fd9f4e0c Cr-Commit-Position: refs/heads/master@{#406513}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address on hiroshige's review #

Patch Set 3 : (rebase) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -44 lines) Patch
M third_party/WebKit/Source/core/fetch/RawResource.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 4 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 chunk +0 lines, -38 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (10 generated)
hajimehoshi
PTAL
4 years, 5 months ago (2016-07-19 08:17:17 UTC) #2
hiroshige
https://codereview.chromium.org/2164553002/diff/1/third_party/WebKit/Source/core/fetch/Resource.h File third_party/WebKit/Source/core/fetch/Resource.h (right): https://codereview.chromium.org/2164553002/diff/1/third_party/WebKit/Source/core/fetch/Resource.h#newcode291 third_party/WebKit/Source/core/fetch/Resource.h:291: unsigned count() const { return m_clients.size(); } We can ...
4 years, 5 months ago (2016-07-19 08:30:20 UTC) #5
hajimehoshi
Thank you! https://codereview.chromium.org/2164553002/diff/1/third_party/WebKit/Source/core/fetch/Resource.h File third_party/WebKit/Source/core/fetch/Resource.h (right): https://codereview.chromium.org/2164553002/diff/1/third_party/WebKit/Source/core/fetch/Resource.h#newcode291 third_party/WebKit/Source/core/fetch/Resource.h:291: unsigned count() const { return m_clients.size(); } ...
4 years, 5 months ago (2016-07-19 08:51:16 UTC) #6
hiroshige
lgtm
4 years, 5 months ago (2016-07-19 09:19:38 UTC) #9
Mike West
Deleting code! \o/ LGTM.
4 years, 5 months ago (2016-07-19 12:46:21 UTC) #12
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/2164553002/40001
4 years, 5 months ago (2016-07-20 06:06:36 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-20 07:41:24 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 07:42:42 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d8232ee902862b691d958d5cc66670a8fd9f4e0c
Cr-Commit-Position: refs/heads/master@{#406513}

Powered by Google App Engine
This is Rietveld 408576698