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

Issue 1665023002: Cheer up spell-checking code (Closed)

Created:
4 years, 10 months ago by Kevin Bailey
Modified:
4 years, 10 months ago
CC:
chromium-reviews, groby+spellwatch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cheer up spell-checking code Correctly format. Convert raw pointers to scoped_ptr. NULL -> nullptr Remove some unnecessary std::set<> creation. Committed: https://crrev.com/3621b07801552f5266fc899c5082fd11ffdb2d5a Cr-Commit-Position: refs/heads/master@{#374656}

Patch Set 1 #

Total comments: 62

Patch Set 2 : Lots of clean up #

Patch Set 3 : #

Patch Set 4 : Restored formatting #

Patch Set 5 : Missed one restore #

Patch Set 6 : More clean up requests #

Patch Set 7 : Removed set difference container #

Patch Set 8 : Reverted one auto #

Total comments: 12

Patch Set 9 : More descriptive variable name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -105 lines) Patch
M chrome/browser/spellchecker/feedback.cc View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -20 lines 0 comments Download
M chrome/browser/spellchecker/feedback_sender.cc View 1 2 3 4 5 6 7 8 6 chunks +39 lines, -45 lines 0 comments Download
M chrome/browser/spellchecker/feedback_sender_unittest.cc View 1 2 3 5 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/spellchecker/misspelling.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/spellchecker/misspelling.cc View 1 2 3 4 5 3 chunks +16 lines, -13 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_custom_dictionary.cc View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -18 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
Kevin Bailey
Let me know if I missed anything; grep can only find so much.
4 years, 10 months ago (2016-02-03 22:58:01 UTC) #3
please use gerrit instead
Looks good. See comments and questions inline. https://codereview.chromium.org/1665023002/diff/1/chrome/browser/spellchecker/feedback.cc File chrome/browser/spellchecker/feedback.cc (right): https://codereview.chromium.org/1665023002/diff/1/chrome/browser/spellchecker/feedback.cc#newcode24 chrome/browser/spellchecker/feedback.cc:24: #include "base/stl_util.h" ...
4 years, 10 months ago (2016-02-03 23:59:11 UTC) #4
groby-ooo-7-16
Please let's not do this. Including rouslan's suggestions, this CL now contains: * A wholesale ...
4 years, 10 months ago (2016-02-04 03:43:15 UTC) #6
Kevin Bailey
Sorry, didn't read my email before hitting 'upload'. To answer a few questions: The CL ...
4 years, 10 months ago (2016-02-04 05:30:45 UTC) #7
Kevin Bailey
So Rouslan was almost right: I was using the wrong clang-format, however the correct one ...
4 years, 10 months ago (2016-02-04 16:34:12 UTC) #8
groby-ooo-7-16
Re: std::set - this is so rare that we really don't care about the malloc ...
4 years, 10 months ago (2016-02-04 19:38:36 UTC) #9
Kevin Bailey
I replaced the set difference container with more use of std::vector<> for the target container. ...
4 years, 10 months ago (2016-02-04 21:39:00 UTC) #10
Kevin Bailey
On 2016/02/04 21:39:00, Kevin Bailey wrote: > I replaced the set difference container with more ...
4 years, 10 months ago (2016-02-09 17:12:17 UTC) #11
groby-ooo-7-16
LGTM % nits https://codereview.chromium.org/1665023002/diff/140001/chrome/browser/spellchecker/feedback.cc File chrome/browser/spellchecker/feedback.cc (right): https://codereview.chromium.org/1665023002/diff/140001/chrome/browser/spellchecker/feedback.cc#newcode1 chrome/browser/spellchecker/feedback.cc:1: // Copyright 2013 The Chromium Authors. ...
4 years, 10 months ago (2016-02-09 20:20:26 UTC) #12
Kevin Bailey
https://codereview.chromium.org/1665023002/diff/140001/chrome/browser/spellchecker/feedback.cc File chrome/browser/spellchecker/feedback.cc (right): https://codereview.chromium.org/1665023002/diff/140001/chrome/browser/spellchecker/feedback.cc#newcode1 chrome/browser/spellchecker/feedback.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
4 years, 10 months ago (2016-02-09 22:26:39 UTC) #13
groby-ooo-7-16
On 2016/02/09 22:26:39, Kevin Bailey wrote: > https://codereview.chromium.org/1665023002/diff/140001/chrome/browser/spellchecker/feedback.cc > File chrome/browser/spellchecker/feedback.cc (right): > > https://codereview.chromium.org/1665023002/diff/140001/chrome/browser/spellchecker/feedback.cc#newcode1 ...
4 years, 10 months ago (2016-02-09 23:38:57 UTC) #14
groby-ooo-7-16
On 2016/02/09 23:38:57, groby wrote: > On 2016/02/09 22:26:39, Kevin Bailey wrote: > > > ...
4 years, 10 months ago (2016-02-09 23:39:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665023002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665023002/160001
4 years, 10 months ago (2016-02-10 14:13:08 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-02-10 14:53:00 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 14:54:02 UTC) #21
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/3621b07801552f5266fc899c5082fd11ffdb2d5a
Cr-Commit-Position: refs/heads/master@{#374656}

Powered by Google App Engine
This is Rietveld 408576698