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

Issue 73613002: InstantExtended: remove old flags, add new flag for query extraction. (Closed)

Created:
7 years, 1 month ago by samarth
Modified:
7 years, 1 month ago
CC:
chromium-reviews, davidben+watch_chromium.org, cbentzel+watch_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, tburkard+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, gavinp+prer_chromium.org, dominich+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, tfarina, kmadhusu+watch_chromium.org, James Su
Visibility:
Public.

Description

InstantExtended: remove old flags, add new flag for query extraction. This change does three things: (1) Remove flags for Instant Extended. Instant Extended is now always on. (2) Add a separate flag to control query extraction. Also rename suppress_on_srp to query_extraction to make its purpose clearer. (3) Assorted cleanup resulting from (1) and (2). Note that a lot more code (especially in search.cc) can be cleaned up and I will address that in follow up changes. Attempting to keep this from snowballing into a huge CL. BUG=297915 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236116

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 9

Patch Set 3 : Rebase. #

Patch Set 4 : Address comments. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Patch Set 7 : Fix test. #

Patch Set 8 : Fix compile error. #

Patch Set 9 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -228 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/instant_unittest_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/search.h View 1 2 3 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/search/search.cc View 10 chunks +23 lines, -75 lines 0 comments Download
M chrome/browser/search/search_unittest.cc View 22 chunks +44 lines, -75 lines 0 comments Download
M chrome/browser/search_engines/template_url.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/bookmarks/bookmark_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -13 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_extended_interactive_uitest.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/search/instant_ntp_prerenderer_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/search/instant_page_unittest.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/local_ntp_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_delegate_unittest.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/search/search_ipc_router_policy_unittest.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/search_ipc_router_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/search/search_model_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_unittest.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 3 chunks +1 line, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 3 chunks +3 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
samarth
jered -> c/b/search sky -> OWNERS stamp for everything else Note that this depends on ...
7 years, 1 month ago (2013-11-15 03:45:55 UTC) #1
sky
LGTM
7 years, 1 month ago (2013-11-15 17:15:13 UTC) #2
Jered
https://codereview.chromium.org/73613002/diff/40001/chrome/browser/search/search.cc File chrome/browser/search/search.cc (left): https://codereview.chromium.org/73613002/diff/40001/chrome/browser/search/search.cc#oldcode176 chrome/browser/search/search.cc:176: UMA_HISTOGRAM_ENUMERATION("InstantExtended.NewOptInState", state, Also remove this from histograms.xml https://codereview.chromium.org/73613002/diff/40001/chrome/browser/search/search.cc File ...
7 years, 1 month ago (2013-11-15 17:40:11 UTC) #3
Jered
https://codereview.chromium.org/73613002/diff/40001/chrome/browser/search/search.cc File chrome/browser/search/search.cc (left): https://codereview.chromium.org/73613002/diff/40001/chrome/browser/search/search.cc#oldcode176 chrome/browser/search/search.cc:176: UMA_HISTOGRAM_ENUMERATION("InstantExtended.NewOptInState", state, On 2013/11/15 17:40:11, Jered wrote: > Also ...
7 years, 1 month ago (2013-11-15 17:41:15 UTC) #4
samarth
+asvitkine for tools/metrics https://codereview.chromium.org/73613002/diff/40001/chrome/browser/search/search.cc File chrome/browser/search/search.cc (left): https://codereview.chromium.org/73613002/diff/40001/chrome/browser/search/search.cc#oldcode176 chrome/browser/search/search.cc:176: UMA_HISTOGRAM_ENUMERATION("InstantExtended.NewOptInState", state, On 2013/11/15 17:40:11, Jered ...
7 years, 1 month ago (2013-11-18 01:45:00 UTC) #5
Alexei Svitkine (slow)
histograms.xml lgtm
7 years, 1 month ago (2013-11-18 14:29:59 UTC) #6
samarth
ping jered@?
7 years, 1 month ago (2013-11-18 22:31:54 UTC) #7
Jered
On 2013/11/18 22:31:54, samarth wrote: > ping jered@? Did you see my comment in PS2 ...
7 years, 1 month ago (2013-11-18 22:35:36 UTC) #8
Jered
On 2013/11/18 22:35:36, Jered wrote: > On 2013/11/18 22:31:54, samarth wrote: > > ping jered@? ...
7 years, 1 month ago (2013-11-18 22:42:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/73613002/250001
7 years, 1 month ago (2013-11-19 00:23:02 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=98665
7 years, 1 month ago (2013-11-19 01:47:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/73613002/500001
7 years, 1 month ago (2013-11-19 18:46:07 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=192102
7 years, 1 month ago (2013-11-19 19:24:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/73613002/720001
7 years, 1 month ago (2013-11-19 19:52:37 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
7 years, 1 month ago (2013-11-19 21:20:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/73613002/950001
7 years, 1 month ago (2013-11-19 21:29:27 UTC) #16
commit-bot: I haz the power
7 years, 1 month ago (2013-11-20 03:11:43 UTC) #17
Message was sent while issue was closed.
Change committed as 236116

Powered by Google App Engine
This is Rietveld 408576698