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

Issue 1811123003: Omnibox Logging - Clear Both Counterfactual Bits on ResetSession() Call (Closed)

Created:
4 years, 9 months ago by Mark P
Modified:
4 years, 9 months ago
Reviewers:
H Fung, Peter Kasting
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Omnibox Logging - Clear Both Counterfactual Bits on ResetSession() Call It's weird to have the triggered bit set while the triggered_in_session bit is not set. This can happen in weird edge conditions. For example, type something in tab A, type something else in tab B where this something else triggers the field trial, switch back to tab A and press enter to navigate without typing anything new. The switching tabs will cause a ResetSession() call, clearing the triggered_in_session bit. Yet the triggered bit does not get cleared; it only gets set/reset upon user typing (i.e., a call to SearchProvider). Thus, we have this inconsistency. Really, conceptually if we send ResetSession() calls at the appropriate times, it should clear all the bits. BUG=593434 Committed: https://crrev.com/1b55e348738d640be85412d8400e3cb5ef46d52e Cr-Commit-Position: refs/heads/master@{#382181}

Patch Set 1 #

Patch Set 2 : update test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/omnibox/browser/search_provider.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Mark P
Please take a look guys. thanks, mark
4 years, 9 months ago (2016-03-18 04:30:06 UTC) #3
Peter Kasting
RS LGTM; I can't remember what these do or advise on whether it's possible to ...
4 years, 9 months ago (2016-03-18 04:55:29 UTC) #4
Mark P
On 2016/03/18 04:55:29, Peter Kasting wrote: > RS LGTM; I can't remember what these do ...
4 years, 9 months ago (2016-03-18 16:53:04 UTC) #5
H Fung
lgtm I'm not sure how you found this obscure case :)
4 years, 9 months ago (2016-03-18 23:08:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811123003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811123003/1
4 years, 9 months ago (2016-03-18 23:21:18 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/142103)
4 years, 9 months ago (2016-03-19 00:17:21 UTC) #10
Mark P
Forgot to update the test. Now done.
4 years, 9 months ago (2016-03-19 03:45:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811123003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811123003/20001
4 years, 9 months ago (2016-03-19 03:45:26 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-19 04:36:28 UTC) #16
commit-bot: I haz the power
4 years, 9 months ago (2016-03-19 04:42:22 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1b55e348738d640be85412d8400e3cb5ef46d52e
Cr-Commit-Position: refs/heads/master@{#382181}

Powered by Google App Engine
This is Rietveld 408576698