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

Issue 815273002: Remove and deprecate SEARCH_SUGGEST_ANSWER (Closed)

Created:
6 years ago by dschuyler
Modified:
5 years, 10 months ago
CC:
chromium-reviews, James Su, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove and deprecate SEARCH_SUGGEST_ANSWER. This type is no longer used in the UI code, since answers can be attached to suggestions of any type. BUG=430513 Committed: https://crrev.com/48569adc0d14e1c996daf22061d70b394dd89691 Cr-Commit-Position: refs/heads/master@{#314167}

Patch Set 1 #

Total comments: 4

Patch Set 2 : updated with Justin's suggestions #

Total comments: 10

Patch Set 3 : reverted changes to java file #

Patch Set 4 : Updating #

Patch Set 5 : fix for assert #

Patch Set 6 : Removed commented out code #

Patch Set 7 : removing suggest answer enum from java #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -17 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_controller.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_backend_unittest.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/metrics/omnibox_metrics_provider.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M components/metrics/proto/omnibox_event.proto View 1 1 chunk +3 lines, -1 line 0 comments Download
M components/omnibox/autocomplete_match.cc View 1 2 3 4 5 3 chunks +1 line, -4 lines 0 comments Download
M components/omnibox/autocomplete_match_type.h View 1 chunk +0 lines, -1 line 2 comments Download
M components/omnibox/autocomplete_match_type.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 55 (11 generated)
dschuyler
6 years ago (2014-12-22 20:00:16 UTC) #2
Justin Donnelly
Looks good. Just a few comment suggestions. Also, change the title to "Remove and deprecate ...
6 years ago (2014-12-23 14:54:38 UTC) #3
dschuyler
Thanks - updated
6 years ago (2014-12-23 19:59:06 UTC) #4
dschuyler
https://codereview.chromium.org/815273002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java (right): https://codereview.chromium.org/815273002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java#newcode59 chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java:59: SEARCH_SUGGEST_ANSWER (18); // DEPRECATED. TODO: remove from On 2014/12/23 ...
6 years ago (2014-12-23 20:00:15 UTC) #5
Justin Donnelly
lgtm
6 years ago (2014-12-23 20:06:49 UTC) #6
groby-ooo-7-16
A few more notes, sorry :) https://codereview.chromium.org/815273002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java (right): https://codereview.chromium.org/815273002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java#newcode37 chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java:37: VOICE_SUGGEST (-100), // ...
6 years ago (2014-12-23 20:15:22 UTC) #8
dschuyler
On 2014/12/23 20:15:22, groby wrote: > A few more notes, sorry :) > > https://codereview.chromium.org/815273002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java ...
6 years ago (2014-12-23 21:02:51 UTC) #9
Justin Donnelly
https://codereview.chromium.org/815273002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java (right): https://codereview.chromium.org/815273002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java#newcode78 chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java:78: || this == HISTORY_BODY || this == HISTORY_KEYWORD; On ...
6 years ago (2014-12-23 21:08:41 UTC) #10
groby-ooo-7-16
On 2014/12/23 21:02:51, dschuyler wrote: > On 2014/12/23 20:15:22, groby wrote: > > A few ...
6 years ago (2014-12-23 21:11:16 UTC) #11
groby-ooo-7-16
https://codereview.chromium.org/815273002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java (right): https://codereview.chromium.org/815273002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java#newcode78 chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java:78: || this == HISTORY_BODY || this == HISTORY_KEYWORD; On ...
6 years ago (2014-12-23 21:12:35 UTC) #12
dschuyler
On 2014/12/23 21:12:35, groby wrote: > https://codereview.chromium.org/815273002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java > File > chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java > (right): > > ...
6 years ago (2014-12-23 21:21:34 UTC) #13
dschuyler
please re-review without java change
6 years ago (2014-12-23 21:22:08 UTC) #14
groby-ooo-7-16
Justin already replied to my comments on the C++ side, so LGTM.
6 years ago (2014-12-23 21:31:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815273002/40001
5 years, 11 months ago (2014-12-29 19:27:43 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/32705)
5 years, 11 months ago (2014-12-29 19:33:55 UTC) #19
Justin Donnelly
On 2014/12/29 19:33:55, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 11 months ago (2015-01-02 15:35:10 UTC) #20
Mark P
lgtm Remember to update the internal Chrome-for-Android codebase immediately after submitting this, else you'll break ...
5 years, 11 months ago (2015-01-02 18:23:42 UTC) #22
Justin Donnelly
On 2015/01/02 18:23:42, Mark P wrote: > lgtm > > Remember to update the internal ...
5 years, 11 months ago (2015-01-02 18:40:38 UTC) #23
groby-ooo-7-16
So, is this CL dead?
5 years, 11 months ago (2015-01-09 18:51:14 UTC) #24
Justin Donnelly
On 2015/01/09 18:51:14, groby wrote: > So, is this CL dead? No, it's just blocked. ...
5 years, 11 months ago (2015-01-09 18:54:08 UTC) #25
dschuyler
This change list is updated to account for some code changes since the review started.
5 years, 10 months ago (2015-01-29 23:51:16 UTC) #26
groby-ooo-7-16
A short summary of the changes would probably help :) That said, LGTM - but ...
5 years, 10 months ago (2015-01-30 01:58:46 UTC) #27
Justin Donnelly
On 2015/01/30 01:58:46, groby wrote: > A short summary of the changes would probably help ...
5 years, 10 months ago (2015-01-30 22:29:49 UTC) #28
Justin Donnelly
Looks good but can you add one more file to this? There's a reference to ...
5 years, 10 months ago (2015-01-30 22:29:56 UTC) #29
dschuyler
Done: added java file with suggest answer enum removed
5 years, 10 months ago (2015-01-30 23:01:03 UTC) #30
Justin Donnelly
lgtm LGTM
5 years, 10 months ago (2015-01-30 23:06:24 UTC) #31
Justin Donnelly
+tedchoc for Java change
5 years, 10 months ago (2015-01-30 23:07:10 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815273002/120001
5 years, 10 months ago (2015-01-30 23:10:07 UTC) #35
Mark P
https://codereview.chromium.org/815273002/diff/120001/components/omnibox/autocomplete_match_type.h File components/omnibox/autocomplete_match_type.h (right): https://codereview.chromium.org/815273002/diff/120001/components/omnibox/autocomplete_match_type.h#newcode14 components/omnibox/autocomplete_match_type.h:14: // These values are stored in ShortcutsDatabase and in ...
5 years, 10 months ago (2015-01-30 23:13:28 UTC) #36
Justin Donnelly
https://codereview.chromium.org/815273002/diff/120001/components/omnibox/autocomplete_match_type.h File components/omnibox/autocomplete_match_type.h (right): https://codereview.chromium.org/815273002/diff/120001/components/omnibox/autocomplete_match_type.h#newcode14 components/omnibox/autocomplete_match_type.h:14: // These values are stored in ShortcutsDatabase and in ...
5 years, 10 months ago (2015-01-30 23:21:04 UTC) #38
Ted C
androidy -- lgtm
5 years, 10 months ago (2015-01-30 23:29:24 UTC) #39
chromium-reviews
So that would bring back a few other entries (to satisfy compile asserts): Do these ...
5 years, 10 months ago (2015-01-30 23:35:49 UTC) #40
dschuyler
adding SEARCH_SUGGEST_ANSWER_DEPRECATED
5 years, 10 months ago (2015-01-30 23:59:51 UTC) #41
Mark P
+pkasting Okay, I'm sorry to jerk you around. I just looked closer at the Shortcuts ...
5 years, 10 months ago (2015-01-31 00:10:22 UTC) #43
Mark P
+pkasting Okay, I'm sorry to jerk you around. I just looked closer at the Shortcuts ...
5 years, 10 months ago (2015-01-31 00:11:03 UTC) #44
Peter Kasting
On 2015/01/31 00:11:03, Mark P wrote: > If so, then you can submit patchset 6 ...
5 years, 10 months ago (2015-01-31 00:13:20 UTC) #45
Mark P
On 2015/01/31 00:13:20, Peter Kasting wrote: > On 2015/01/31 00:11:03, Mark P wrote: > > ...
5 years, 10 months ago (2015-01-31 00:22:22 UTC) #46
Mark P
-lgtm (for this one)
5 years, 10 months ago (2015-01-31 00:22:36 UTC) #47
Mark P
not lgtm (for this one)
5 years, 10 months ago (2015-01-31 00:22:49 UTC) #48
dschuyler
Patch set 8 removed :)
5 years, 10 months ago (2015-01-31 00:37:09 UTC) #50
Mark P
lgtm
5 years, 10 months ago (2015-01-31 00:43:33 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815273002/120001
5 years, 10 months ago (2015-02-02 18:10:44 UTC) #53
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-02 18:15:01 UTC) #54
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 18:16:57 UTC) #55
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/48569adc0d14e1c996daf22061d70b394dd89691
Cr-Commit-Position: refs/heads/master@{#314167}

Powered by Google App Engine
This is Rietveld 408576698