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

Issue 1120006: detect preferences errors (Closed)

Created:
10 years, 9 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
Reviewers:
Aaron Boodman, brettw, tony
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org, Aaron Boodman, jam+cc_chromium.org, brettw-cc_chromium.org, Paweł Hajdan Jr., kuchhal, darin-cc_chromium.org, ncarter (slow), idana, tim (not reviewing)
Visibility:
Public.

Description

detect preferences errors BUG=38352 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43715

Patch Set 1 #

Total comments: 5

Patch Set 2 : changes from review #

Total comments: 2

Patch Set 3 : more cleanup #

Patch Set 4 : propogate JSON error code change #

Total comments: 10

Patch Set 5 : changes from review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -132 lines) Patch
M base/json/json_reader.h View 4 5 chunks +38 lines, -14 lines 0 comments Download
M base/json/json_reader.cc View 4 11 chunks +65 lines, -24 lines 0 comments Download
M base/json/json_reader_unittest.cc View 2 chunks +30 lines, -13 lines 0 comments Download
M base/values.h View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browser_theme_pack_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_ui_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/extensions/external_pref_extension_provider.cc View 1 chunk +7 lines, -10 lines 0 comments Download
M chrome/browser/extensions/image_loading_tracker_unittest.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/geolocation/network_location_request.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/page_state.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/pref_service.h View 1 2 3 4 3 chunks +28 lines, -0 lines 0 comments Download
M chrome/browser/pref_service.cc View 1 2 3 4 6 chunks +90 lines, -9 lines 0 comments Download
M chrome/browser/pref_service_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/preference_change_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/preference_model_associator.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_l10n_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_manifests_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 4 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_unpacker.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/json_value_serializer.h View 1 2 3 4 2 chunks +35 lines, -7 lines 0 comments Download
M chrome/common/json_value_serializer.cc View 1 2 3 4 3 chunks +56 lines, -5 lines 0 comments Download
M chrome/common/json_value_serializer_perftest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/json_value_serializer_unittest.cc View 8 chunks +9 lines, -9 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/master_preferences.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/extension_api_json_validity_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/javascript_execution_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/tab_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui/dom_checker_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui/javascript_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui/ui_test.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Aaron Boodman
very cool http://codereview.chromium.org/1120006/diff/1/6 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/1120006/diff/1/6#newcode68 chrome/browser/pref_service.cc:68: // Missing comment. http://codereview.chromium.org/1120006/diff/1/7 File chrome/browser/pref_service.h (right): ...
10 years, 9 months ago (2010-03-20 07:23:28 UTC) #1
brettw
Seems pretty straightforward to me. http://codereview.chromium.org/1120006/diff/1/6 File chrome/browser/pref_service.cc (right): http://codereview.chromium.org/1120006/diff/1/6#newcode93 chrome/browser/pref_service.cc:93: PREF_READ_ERROR_JSON_PARSE, Since we depend ...
10 years, 9 months ago (2010-03-20 20:17:48 UTC) #2
Erik does not do reviews
New snap uploaded with your comments addressed. Given your feedback, I'm assuming that you're cool ...
10 years, 9 months ago (2010-03-28 21:45:32 UTC) #3
brettw
I have to leave now to come to work, so I couldn't actually research the ...
10 years, 9 months ago (2010-03-29 16:09:19 UTC) #4
Erik does not do reviews
I refactored the error handling a bit so that we don't store the error string ...
10 years, 9 months ago (2010-03-29 17:30:59 UTC) #5
brettw
From a grep, it looks like Deserialize has only a few callers, and most of ...
10 years, 9 months ago (2010-03-29 17:37:45 UTC) #6
Erik does not do reviews
PTAL OK. I finally got back to this. The thing that added complexity is that ...
10 years, 8 months ago (2010-04-02 23:39:11 UTC) #7
tony
This overall approach looks good to me. I just have some small style nits. FWIW, ...
10 years, 8 months ago (2010-04-05 03:31:36 UTC) #8
brettw
LGTM, just some minor comments. http://codereview.chromium.org/1120006/diff/16001/17001 File base/json/json_reader.cc (right): http://codereview.chromium.org/1120006/diff/16001/17001#newcode152 base/json/json_reader.cc:152: return ""; Use std::string() ...
10 years, 8 months ago (2010-04-05 16:23:14 UTC) #9
Erik does not do reviews
OK. I incorporated all of your comments except for one of Tony's (see below). http://codereview.chromium.org/1120006/diff/16001/17017 ...
10 years, 8 months ago (2010-04-05 22:35:00 UTC) #10
tony
10 years, 8 months ago (2010-04-05 23:52:53 UTC) #11
LGTM2.  Thanks for doing this.

Powered by Google App Engine
This is Rietveld 408576698