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

Issue 940043002: Use GetPreferredDataTypes rather than GetActiveDataTypes when performing sync check for chrome sugg… (Closed)

Created:
5 years, 10 months ago by beaudoin
Modified:
5 years, 10 months ago
Reviewers:
Jered
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Mathieu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use GetPreferredDataTypes rather than GetActiveDataTypes when performing sync check for chrome suggestions. This ensure we do not clear Chrome Suggestions when the sync service is starting up and not yet active, unless the user explicitely indicated he didn't want to sync history. BUG=459729 Committed: https://crrev.com/6c7b230f0f6abb2d2b939c633aa81b3a2092a198 Cr-Commit-Position: refs/heads/master@{#317346}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -26 lines) Patch
M chrome/browser/ui/search/search_tab_helper.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper_unittest.cc View 1 2 2 chunks +1 line, -22 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
beaudoin
Hi Jered, Trivial change to fix a bug at startup with chrome suggestions.
5 years, 10 months ago (2015-02-19 15:51:37 UTC) #2
Jered
https://codereview.chromium.org/940043002/diff/1/chrome/browser/ui/search/search_tab_helper.cc File chrome/browser/ui/search/search_tab_helper.cc (left): https://codereview.chromium.org/940043002/diff/1/chrome/browser/ui/search/search_tab_helper.cc#oldcode132 chrome/browser/ui/search/search_tab_helper.cc:132: sync->SyncActive() && Did you mean to remove the call ...
5 years, 10 months ago (2015-02-19 16:01:38 UTC) #3
beaudoin
Modified test, PTAL. https://codereview.chromium.org/940043002/diff/1/chrome/browser/ui/search/search_tab_helper.cc File chrome/browser/ui/search/search_tab_helper.cc (left): https://codereview.chromium.org/940043002/diff/1/chrome/browser/ui/search/search_tab_helper.cc#oldcode132 chrome/browser/ui/search/search_tab_helper.cc:132: sync->SyncActive() && On 2015/02/19 16:01:38, Jered ...
5 years, 10 months ago (2015-02-20 00:25:50 UTC) #4
Jered
On 2015/02/20 00:25:50, beaudoin wrote: > Modified test, PTAL. > > https://codereview.chromium.org/940043002/diff/1/chrome/browser/ui/search/search_tab_helper.cc > File chrome/browser/ui/search/search_tab_helper.cc ...
5 years, 10 months ago (2015-02-20 16:55:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/940043002/40001
5 years, 10 months ago (2015-02-20 16:57:07 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-20 17:47:54 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 17:48:20 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6c7b230f0f6abb2d2b939c633aa81b3a2092a198
Cr-Commit-Position: refs/heads/master@{#317346}

Powered by Google App Engine
This is Rietveld 408576698