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

Issue 2587173002: Cleanup NetworkActivityIndicatorTabHelper and add unittest. (Closed)

Created:
4 years ago by michaeldo
Modified:
4 years ago
CC:
chromium-reviews, pkl (ping after 24h if needed), sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup NetworkActivityIndicatorTabHelper and add unittest. Combine duplicated method logic. Add unittest to ensure activity stops when webState is deallocated. BUG=none Committed: https://crrev.com/efa99c735d7f677f3b0fe2a794f4b7a6268ff22f Cr-Commit-Position: refs/heads/master@{#439815}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix method declaration order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -6 lines) Patch
M ios/chrome/browser/web/network_activity_indicator_tab_helper.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/web/network_activity_indicator_tab_helper.mm View 2 chunks +5 lines, -6 lines 0 comments Download
M ios/chrome/browser/web/network_activity_indicator_tab_helper_unittest.mm View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
michaeldo
4 years ago (2016-12-19 20:43:56 UTC) #2
Eugene But (OOO till 7-30)
lgtm. Thanks for cleanup! https://codereview.chromium.org/2587173002/diff/1/ios/chrome/browser/web/network_activity_indicator_tab_helper.mm File ios/chrome/browser/web/network_activity_indicator_tab_helper.mm (right): https://codereview.chromium.org/2587173002/diff/1/ios/chrome/browser/web/network_activity_indicator_tab_helper.mm#newcode45 ios/chrome/browser/web/network_activity_indicator_tab_helper.mm:45: void NetworkActivityIndicatorTabHelper::Stop() { nit: Could ...
4 years ago (2016-12-19 20:53:01 UTC) #3
michaeldo
https://codereview.chromium.org/2587173002/diff/1/ios/chrome/browser/web/network_activity_indicator_tab_helper.mm File ios/chrome/browser/web/network_activity_indicator_tab_helper.mm (right): https://codereview.chromium.org/2587173002/diff/1/ios/chrome/browser/web/network_activity_indicator_tab_helper.mm#newcode45 ios/chrome/browser/web/network_activity_indicator_tab_helper.mm:45: void NetworkActivityIndicatorTabHelper::Stop() { On 2016/12/19 20:53:01, Eugene But wrote: ...
4 years ago (2016-12-19 21:43:44 UTC) #4
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/2587173002/20001
4 years ago (2016-12-20 15:45:07 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-20 16:12:51 UTC) #10
commit-bot: I haz the power
4 years ago (2016-12-20 16:15:50 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/efa99c735d7f677f3b0fe2a794f4b7a6268ff22f
Cr-Commit-Position: refs/heads/master@{#439815}

Powered by Google App Engine
This is Rietveld 408576698