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

Issue 25324003: search: Log when bookmark bar is pinned. (Closed)

Created:
7 years, 2 months ago by Jered
Modified:
7 years, 2 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su, samarth
Visibility:
Public.

Description

search: Log when bookmark bar is pinned. We want to understand how showing search terms in the omnibox interacts with the presence of the bookmark bar. For users in a field trial that's showing search terms, this change adds a CGI arg &bmbp=1 to search URLs if the bookmark bar is pinned and &bmbp=0 otherwise. This isn't privacy-sensitive, because in theory we could get this information by looking at outerHeight - innerHeight from search page Javascript. Logging it explicitly this way is just more reliable than doing that. BUG=291244 TEST=unit tests,manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226506

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address comments. #

Total comments: 8

Patch Set 3 : Address nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -4 lines) Patch
M chrome/browser/autocomplete/search_provider.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/prepopulated_engines.json View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url.h View 1 2 5 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url.cc View 1 2 8 chunks +25 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_unittest.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Jered
7 years, 2 months ago (2013-09-30 20:59:14 UTC) #1
Peter Kasting
Instead of adding a CGI param, why not just extend Chrome's UMA data to capture ...
7 years, 2 months ago (2013-10-01 00:51:56 UTC) #2
samarth
On Mon, Sep 30, 2013 at 5:51 PM, <pkasting@chromium.org> wrote: > It seems like the ...
7 years, 2 months ago (2013-10-01 00:55:57 UTC) #3
Peter Kasting
OK than https://codereview.chromium.org/25324003/diff/1/chrome/browser/autocomplete/search_provider_unittest.cc File chrome/browser/autocomplete/search_provider_unittest.cc (right): https://codereview.chromium.org/25324003/diff/1/chrome/browser/autocomplete/search_provider_unittest.cc#newcode2632 chrome/browser/autocomplete/search_provider_unittest.cc:2632: ASSERT_EQ(AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED, Nit: Can be EXPECT_EQ https://codereview.chromium.org/25324003/diff/1/chrome/browser/autocomplete/search_provider_unittest.cc#newcode2638 chrome/browser/autocomplete/search_provider_unittest.cc:2638: ...
7 years, 2 months ago (2013-10-01 01:03:31 UTC) #4
Peter Kasting
On 2013/10/01 01:03:31, Peter Kasting wrote: > OK than That was supposed to be "then", ...
7 years, 2 months ago (2013-10-01 01:04:10 UTC) #5
Jered
https://codereview.chromium.org/25324003/diff/1/chrome/browser/autocomplete/search_provider_unittest.cc File chrome/browser/autocomplete/search_provider_unittest.cc (right): https://codereview.chromium.org/25324003/diff/1/chrome/browser/autocomplete/search_provider_unittest.cc#newcode2632 chrome/browser/autocomplete/search_provider_unittest.cc:2632: ASSERT_EQ(AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED, On 2013/10/01 01:03:31, Peter Kasting wrote: > Nit: ...
7 years, 2 months ago (2013-10-01 18:46:15 UTC) #6
Peter Kasting
LGTM https://codereview.chromium.org/25324003/diff/12001/chrome/browser/autocomplete/search_provider_unittest.cc File chrome/browser/autocomplete/search_provider_unittest.cc (right): https://codereview.chromium.org/25324003/diff/12001/chrome/browser/autocomplete/search_provider_unittest.cc#newcode2630 chrome/browser/autocomplete/search_provider_unittest.cc:2630: Nit: Remove this (since you don't have a ...
7 years, 2 months ago (2013-10-01 21:54:55 UTC) #7
Jered
https://codereview.chromium.org/25324003/diff/12001/chrome/browser/autocomplete/search_provider_unittest.cc File chrome/browser/autocomplete/search_provider_unittest.cc (right): https://codereview.chromium.org/25324003/diff/12001/chrome/browser/autocomplete/search_provider_unittest.cc#newcode2630 chrome/browser/autocomplete/search_provider_unittest.cc:2630: On 2013/10/01 21:54:55, Peter Kasting wrote: > Nit: Remove ...
7 years, 2 months ago (2013-10-01 23:07:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jered@chromium.org/25324003/20001
7 years, 2 months ago (2013-10-01 23:08:02 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-02 00:00:56 UTC) #10
Jered
On 2013/10/02 00:00:56, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 2 months ago (2013-10-02 00:03:30 UTC) #11
Jered
On 2013/10/02 00:03:30, Jered wrote: > On 2013/10/02 00:00:56, I haz the power (commit-bot) wrote: ...
7 years, 2 months ago (2013-10-02 16:08:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jered@chromium.org/25324003/20001
7 years, 2 months ago (2013-10-02 16:09:03 UTC) #13
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 18:30:12 UTC) #14
Message was sent while issue was closed.
Change committed as 226506

Powered by Google App Engine
This is Rietveld 408576698