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

Issue 2820763002: Remove usage of Tab's |url| property from TabUsageRecorder. (Closed)

Created:
3 years, 8 months ago by kkhorimoto
Modified:
3 years, 6 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, asvitkine+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove usage of Tab's |url| property from TabUsageRecorder. BUG=546208 Review-Url: https://codereview.chromium.org/2820763002 Cr-Commit-Position: refs/heads/master@{#476528} Committed: https://chromium.googlesource.com/chromium/src/+/8dd141c8941e66957a4627ae51b3918c9f457b20

Patch Set 1 #

Patch Set 2 : visible => lastCommitted #

Total comments: 3

Patch Set 3 : check pending url #

Patch Set 4 : fixed tab mock #

Patch Set 5 : fix gn #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M ios/chrome/browser/metrics/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/metrics/tab_usage_recorder.mm View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M ios/chrome/browser/metrics/tab_usage_recorder_unittest.mm View 1 2 3 6 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (19 generated)
kkhorimoto
visible => lastCommitted
3 years, 8 months ago (2017-04-14 20:40:13 UTC) #1
kkhorimoto
https://codereview.chromium.org/2820763002/diff/20001/ios/chrome/browser/metrics/tab_usage_recorder.mm File ios/chrome/browser/metrics/tab_usage_recorder.mm (right): https://codereview.chromium.org/2820763002/diff/20001/ios/chrome/browser/metrics/tab_usage_recorder.mm#newcode297 ios/chrome/browser/metrics/tab_usage_recorder.mm:297: return tab.lastCommittedURL.SchemeIs(kChromeUIScheme); chrome:// URLs are never pending, so lastCommitted ...
3 years, 8 months ago (2017-04-14 20:40:47 UTC) #3
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2820763002/diff/20001/ios/chrome/browser/metrics/tab_usage_recorder.mm File ios/chrome/browser/metrics/tab_usage_recorder.mm (right): https://codereview.chromium.org/2820763002/diff/20001/ios/chrome/browser/metrics/tab_usage_recorder.mm#newcode297 ios/chrome/browser/metrics/tab_usage_recorder.mm:297: return tab.lastCommittedURL.SchemeIs(kChromeUIScheme); On 2017/04/14 20:40:47, kkhorimoto_ wrote: > chrome:// ...
3 years, 8 months ago (2017-04-14 21:48:09 UTC) #4
kkhorimoto
https://codereview.chromium.org/2820763002/diff/20001/ios/chrome/browser/metrics/tab_usage_recorder.mm File ios/chrome/browser/metrics/tab_usage_recorder.mm (right): https://codereview.chromium.org/2820763002/diff/20001/ios/chrome/browser/metrics/tab_usage_recorder.mm#newcode297 ios/chrome/browser/metrics/tab_usage_recorder.mm:297: return tab.lastCommittedURL.SchemeIs(kChromeUIScheme); On 2017/04/14 21:48:09, Eugene But wrote: > ...
3 years, 6 months ago (2017-05-31 23:06:17 UTC) #9
Eugene But (OOO till 7-30)
lgtm
3 years, 6 months ago (2017-05-31 23:45:32 UTC) #10
rohitrao (ping after 24h)
Looks like there are real crashes in TabUsageRecorderTest. Otherwise testing pending_item first sgtm.
3 years, 6 months ago (2017-06-01 11:00:37 UTC) #13
kkhorimoto
fixed tab mock
3 years, 6 months ago (2017-06-01 18:49:26 UTC) #14
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/2820763002/60001
3 years, 6 months ago (2017-06-01 18:50:20 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/223650) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-01 19:05:21 UTC) #19
kkhorimoto
fix gn
3 years, 6 months ago (2017-06-01 19:45:40 UTC) #20
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/2820763002/80001
3 years, 6 months ago (2017-06-01 19:46:29 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/280871) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 6 months ago (2017-06-01 19:50:36 UTC) #25
kkhorimoto
rebase
3 years, 6 months ago (2017-06-01 20:15:57 UTC) #26
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/2820763002/100001
3 years, 6 months ago (2017-06-01 20:16:49 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/308523)
3 years, 6 months ago (2017-06-01 21:22:27 UTC) #31
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/2820763002/100001
3 years, 6 months ago (2017-06-01 22:41:13 UTC) #33
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 02:36:54 UTC) #36
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/8dd141c8941e66957a4627ae51b3...

Powered by Google App Engine
This is Rietveld 408576698