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

Issue 9968007: [protector] Support for collapsing multiple changes into a single one. (Closed)

Created:
8 years, 8 months ago by Ivan Korotkov
Modified:
8 years, 8 months ago
Reviewers:
whywhat
CC:
chromium-reviews
Visibility:
Public.

Description

[protector] Support for collapsing multiple changes into a single one. Each collapsible change has a key (domain). Subsequent changes with the same key are collapsed into CompositeSettingsChange. BUG=114298 TEST=functional:protector.py; browser_tests:ProtectorServiceTest.*; unit_tests:CompositeSettingsChangeTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131773

Patch Set 1 #

Patch Set 2 : Fix icon IDs. #

Patch Set 3 : Merge #

Patch Set 4 : Tried to compile after merge. #

Total comments: 58

Patch Set 5 : Review fixes. #

Patch Set 6 : More comments added. #

Patch Set 7 : Added CanBeMerged #

Patch Set 8 : Moved priorities to a single place. #

Patch Set 9 : Replaced string keywords with URLs. #

Patch Set 10 : Accurate domain comparison of change URLs #

Patch Set 11 : Fixed URL keys for DefaultSearchProviderChange. #

Patch Set 12 : License fix #

Patch Set 13 : Merge #

Patch Set 14 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+924 lines, -50 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/protector/base_setting_change.h View 1 2 3 4 5 6 7 8 4 chunks +44 lines, -2 lines 0 comments Download
M chrome/browser/protector/base_setting_change.cc View 1 2 3 4 5 6 7 8 3 chunks +36 lines, -0 lines 0 comments Download
A chrome/browser/protector/composite_settings_change.h View 1 2 3 4 5 6 7 8 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/protector/composite_settings_change.cc View 1 2 3 4 5 6 7 8 1 chunk +111 lines, -0 lines 0 comments Download
A chrome/browser/protector/composite_settings_change_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +122 lines, -0 lines 0 comments Download
M chrome/browser/protector/default_search_provider_change.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/protector/default_search_provider_change_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +29 lines, -6 lines 0 comments Download
M chrome/browser/protector/mock_setting_change.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/protector/mock_setting_change.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/protector/prefs_backup_invalid_change.cc View 1 2 3 4 5 6 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/protector/protector_service.h View 1 2 3 4 5 3 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/protector/protector_service.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +81 lines, -17 lines 0 comments Download
M chrome/browser/protector/protector_service_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +322 lines, -6 lines 0 comments Download
M chrome/browser/protector/session_startup_change.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +35 lines, -12 lines 0 comments Download
M chrome/browser/protector/session_startup_change_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/protector/settings_change_global_error.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Ivan Korotkov
A big CL for a big weekend :) PTAL!
8 years, 8 months ago (2012-03-30 11:34:38 UTC) #1
Ivan Korotkov
Friendly ping
8 years, 8 months ago (2012-04-04 11:00:11 UTC) #2
Ivan Korotkov
Friendly ping. It's been merged! Brand new and fresh!
8 years, 8 months ago (2012-04-06 08:48:56 UTC) #3
whywhat
I would suggest you to find one more reviewer for this change and the other ...
8 years, 8 months ago (2012-04-06 16:28:32 UTC) #4
Ivan Korotkov
Sure, sorry for scaring you :) I'll add sky@ for future reviews.
8 years, 8 months ago (2012-04-09 11:51:43 UTC) #5
Ivan Korotkov
https://chromiumcodereview.appspot.com/9968007/diff/14001/chrome/browser/protector/base_setting_change.cc File chrome/browser/protector/base_setting_change.cc (right): https://chromiumcodereview.appspot.com/9968007/diff/14001/chrome/browser/protector/base_setting_change.cc#newcode24 chrome/browser/protector/base_setting_change.cc:24: CompositeSettingsChange* composite_change = new CompositeSettingsChange; On 2012/04/06 16:28:32, whywhat ...
8 years, 8 months ago (2012-04-09 14:46:46 UTC) #6
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 8 months ago (2012-04-09 16:53:44 UTC) #7
whywhat
LGTM I'd also expect all your longer-than-one-word replies to make it into comments above the ...
8 years, 8 months ago (2012-04-10 09:55:44 UTC) #8
Ivan Korotkov
Added comments in those places. Thanks for a big review, won't scare you with such ...
8 years, 8 months ago (2012-04-10 11:19:49 UTC) #9
whywhat
https://chromiumcodereview.appspot.com/9968007/diff/14001/chrome/browser/protector/base_setting_change.cc File chrome/browser/protector/base_setting_change.cc (right): https://chromiumcodereview.appspot.com/9968007/diff/14001/chrome/browser/protector/base_setting_change.cc#newcode57 chrome/browser/protector/base_setting_change.cc:57: return std::string(); On 2012/04/10 11:19:49, Ivan Korotkov wrote: > ...
8 years, 8 months ago (2012-04-10 11:22:07 UTC) #10
Ivan Korotkov
https://chromiumcodereview.appspot.com/9968007/diff/14001/chrome/browser/protector/base_setting_change.cc File chrome/browser/protector/base_setting_change.cc (right): https://chromiumcodereview.appspot.com/9968007/diff/14001/chrome/browser/protector/base_setting_change.cc#newcode57 chrome/browser/protector/base_setting_change.cc:57: return std::string(); On 2012/04/10 11:22:08, whywhat wrote: > On ...
8 years, 8 months ago (2012-04-10 11:33:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/9968007/26002
8 years, 8 months ago (2012-04-11 12:19:36 UTC) #12
commit-bot: I haz the power
Presubmit check for 9968007-26002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-04-11 12:19:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/9968007/18007
8 years, 8 months ago (2012-04-11 12:24:35 UTC) #14
commit-bot: I haz the power
Try job failure for 9968007-18007 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-11 13:00:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/9968007/30003
8 years, 8 months ago (2012-04-11 14:09:10 UTC) #16
commit-bot: I haz the power
8 years, 8 months ago (2012-04-11 15:44:52 UTC) #17
Change committed as 131773

Powered by Google App Engine
This is Rietveld 408576698