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 15318004: Store feedback for spellcheck results from spelling service (Closed)

Created:
7 years, 7 months ago by please use gerrit instead
Modified:
7 years, 7 months ago
CC:
chromium-reviews, groby+spellwatch_chromium.org, rpetterson, rouslan+spellwatch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Store feedback for spellcheck results from spelling service This CL begins to collect spellcheck feedback, but the only feedback actions are PENDING and NO_ACTION. Feedback sender uploads these actions every 30 minutes. The feedback is cleared from memory when user removes misspellings from text or every 6 hours. Follow up CLs will add the rest of the actions. BUG=170514 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201989

Patch Set 1 #

Patch Set 2 : Fix mac unit test compile #

Total comments: 2

Patch Set 3 : Move typedefs to feedback.h #

Total comments: 8

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -71 lines) Patch
M chrome/browser/spellchecker/feedback.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/feedback.cc View 1 2 3 8 chunks +20 lines, -26 lines 0 comments Download
M chrome/browser/spellchecker/feedback_sender_unittest.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/feedback_unittest.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter.h View 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter.cc View 3 chunks +20 lines, -11 lines 0 comments Download
M chrome/common/spellcheck_marker.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/spellcheck_messages.h View 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider.cc View 4 chunks +11 lines, -3 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc View 9 chunks +42 lines, -18 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc View 1 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_test.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_test.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
please use gerrit instead
Groby: PTAL. This is mostly boilerplate code to pipe spellcheck results to feedback sender. The ...
7 years, 7 months ago (2013-05-21 21:34:21 UTC) #1
please use gerrit instead
Chris: PTAL chrome/common/spellcheck_messages.h
7 years, 7 months ago (2013-05-21 22:36:21 UTC) #2
palmer
IPC security LGTM https://codereview.chromium.org/15318004/diff/17001/chrome/browser/spellchecker/feedback.cc File chrome/browser/spellchecker/feedback.cc (right): https://codereview.chromium.org/15318004/diff/17001/chrome/browser/spellchecker/feedback.cc#newcode14 chrome/browser/spellchecker/feedback.cc:14: typedef std::set<uint32> HashCollection; Would it make ...
7 years, 7 months ago (2013-05-21 23:06:28 UTC) #3
please use gerrit instead
https://codereview.chromium.org/15318004/diff/17001/chrome/browser/spellchecker/feedback.cc File chrome/browser/spellchecker/feedback.cc (right): https://codereview.chromium.org/15318004/diff/17001/chrome/browser/spellchecker/feedback.cc#newcode14 chrome/browser/spellchecker/feedback.cc:14: typedef std::set<uint32> HashCollection; On 2013/05/21 23:06:28, Chromium Palmer wrote: ...
7 years, 7 months ago (2013-05-21 23:09:08 UTC) #4
groby-ooo-7-16
LGTM w/ nits https://codereview.chromium.org/15318004/diff/33001/chrome/browser/spellchecker/feedback.cc File chrome/browser/spellchecker/feedback.cc (right): https://codereview.chromium.org/15318004/diff/33001/chrome/browser/spellchecker/feedback.cc#newcode31 chrome/browser/spellchecker/feedback.cc:31: std::set<uint32> remaining_set(remaining_markers.begin(), Isn't that a HashCollection ...
7 years, 7 months ago (2013-05-23 19:10:50 UTC) #5
please use gerrit instead
On 2013/05/23 19:10:50, groby wrote: > https://codereview.chromium.org/15318004/diff/33001/chrome/common/spellcheck_marker.h#newcode10 > chrome/common/spellcheck_marker.h:10: SpellCheckMarker() : hash(0), offset(0) {} > ...
7 years, 7 months ago (2013-05-23 19:28:12 UTC) #6
please use gerrit instead
https://codereview.chromium.org/15318004/diff/33001/chrome/browser/spellchecker/feedback_sender_unittest.cc File chrome/browser/spellchecker/feedback_sender_unittest.cc (right): https://codereview.chromium.org/15318004/diff/33001/chrome/browser/spellchecker/feedback_sender_unittest.cc#newcode437 chrome/browser/spellchecker/feedback_sender_unittest.cc:437: TEST_F(FeedbackSenderTest, MatchDupliateResultsWithExistingMarkers) { On 2013/05/23 19:10:50, groby wrote: > ...
7 years, 7 months ago (2013-05-23 19:50:47 UTC) #7
please use gerrit instead
https://codereview.chromium.org/15318004/diff/33001/chrome/browser/spellchecker/feedback.cc File chrome/browser/spellchecker/feedback.cc (right): https://codereview.chromium.org/15318004/diff/33001/chrome/browser/spellchecker/feedback.cc#newcode31 chrome/browser/spellchecker/feedback.cc:31: std::set<uint32> remaining_set(remaining_markers.begin(), On 2013/05/23 19:10:50, groby wrote: > Isn't ...
7 years, 7 months ago (2013-05-23 19:54:54 UTC) #8
please use gerrit instead
Chris: PTAL again. I've changed the default constructor for SpellCheckMarker to initialize both unsigned types ...
7 years, 7 months ago (2013-05-23 20:02:43 UTC) #9
palmer
Still LGTM.
7 years, 7 months ago (2013-05-23 22:58:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/15318004/44001
7 years, 7 months ago (2013-05-23 23:01:52 UTC) #11
commit-bot: I haz the power
7 years, 7 months ago (2013-05-24 06:44:21 UTC) #12
Message was sent while issue was closed.
Change committed as 201989

Powered by Google App Engine
This is Rietveld 408576698