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

Issue 8590036: Protector strings and bubble/SettingsChange code refactoring. (Closed)

Created:
9 years, 1 month ago by Ivan Korotkov
Modified:
9 years, 1 month ago
Reviewers:
whywhat
CC:
chromium-reviews
Visibility:
Public.

Description

Protector strings and bubble/SettingsChange code refactoring. BUG=102765, 103317 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110684

Patch Set 1 #

Patch Set 2 : Added case when the fallback SE == new SE. #

Patch Set 3 : Compile fix. #

Total comments: 10

Patch Set 4 : Review fixes. #

Patch Set 5 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -221 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +33 lines, -33 lines 0 comments Download
M chrome/browser/protector/default_search_provider_change.cc View 1 2 3 3 chunks +138 lines, -43 lines 0 comments Download
M chrome/browser/protector/protector.h View 1 2 3 3 chunks +9 lines, -9 lines 0 comments Download
chrome/browser/protector/protector.cc View 1 2 3 2 chunks +23 lines, -15 lines 0 comments Download
M chrome/browser/protector/setting_change.h View 1 2 3 1 chunk +23 lines, -29 lines 0 comments Download
M chrome/browser/protector/settings_change_global_error.h View 1 2 3 4 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/protector/settings_change_global_error.cc View 4 chunks +15 lines, -80 lines 0 comments Download
M chrome/browser/protector/settings_change_global_error_delegate.h View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Ivan Korotkov
PTA close L!
9 years, 1 month ago (2011-11-17 18:08:22 UTC) #1
whywhat
LGTM with extra credits for: - My Awesome Blog - old setting is old - ...
9 years, 1 month ago (2011-11-18 08:18:19 UTC) #2
Ivan Korotkov
9 years, 1 month ago (2011-11-18 10:44:25 UTC) #3
http://codereview.chromium.org/8590036/diff/2001/chrome/browser/protector/def...
File chrome/browser/protector/default_search_provider_change.cc (right):

http://codereview.chromium.org/8590036/diff/2001/chrome/browser/protector/def...
chrome/browser/protector/default_search_provider_change.cc:26: }
On 2011/11/18 08:18:20, whywhat wrote:
> // namespace

Done.

http://codereview.chromium.org/8590036/diff/2001/chrome/browser/protector/def...
chrome/browser/protector/default_search_provider_change.cc:152: // Old setting
is old, offer to go to settings.
On 2011/11/18 08:18:20, whywhat wrote:
> is old -> is lost

Done.

http://codereview.chromium.org/8590036/diff/2001/chrome/browser/protector/def...
chrome/browser/protector/default_search_provider_change.cc:178: fallback_id_ =
url->id();
Makes sense.

http://codereview.chromium.org/8590036/diff/2001/chrome/browser/protector/pro...
File chrome/browser/protector/protector.cc (right):

http://codereview.chromium.org/8590036/diff/2001/chrome/browser/protector/pro...
chrome/browser/protector/protector.cc:68: VLOG(1) << "Timeout";
On 2011/11/18 08:18:20, whywhat wrote:
> Add a todo for histogram here, please.

Done.

http://codereview.chromium.org/8590036/diff/2001/chrome/browser/protector/set...
File chrome/browser/protector/settings_change_global_error.h (right):

http://codereview.chromium.org/8590036/diff/2001/chrome/browser/protector/set...
chrome/browser/protector/settings_change_global_error.h:39: SettingChange*
change() { return change_.get(); }
On 2011/11/18 08:18:20, whywhat wrote:
> Should be mutable_change() since the returned pointer is non-const.

Done.

Powered by Google App Engine
This is Rietveld 408576698