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

Issue 9590002: JSONWriter cleanup: integrate pretty print into write options. (Closed)

Created:
8 years, 9 months ago by Eric Dingle
Modified:
8 years, 9 months ago
CC:
chromium-reviews, jam, John Grabowski, amit, yoshiki+watch_chromium.org, mihaip+watch_chromium.org, dmazzoni+watch_chromium.org, dcaiafa+watch_chromium.org, cbentzel+watch_chromium.org, aboxhall+watch_chromium.org, kkania, joi+watch-content_chromium.org, anantha, darin-cc_chromium.org, brettw-cc_chromium.org, dennis_jeffrey, tim (not reviewing), dtseng+watch_chromium.org, rdsmith+dwatch_chromium.org, wez+watch_chromium.org, Raghu Simha, sanjeevr, ncarter (slow), yuzo+watch_chromium.org, simonmorris+watch_chromium.org, sergeyu+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, akalin, hashimoto+watch_chromium.org, Nirnimesh, davidbarr+watch_chromium.org, garykac+watch_chromium.org, Aaron Boodman, eroman, robertshield, dyu1, alexeypa+watch_chromium.org, mmenke, lambroslambrou+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Fix build errors. #

Patch Set 3 : Fix build errors 2. #

Patch Set 4 : Fix merge conflict. #

Patch Set 5 : Fix merge conflict 2. #

Patch Set 6 : Fix merge conflict 3. #

Patch Set 7 : Fix build errors 3. #

Patch Set 8 : Fix merge conflict 4. #

Patch Set 9 : Fix line endings. #

Patch Set 10 : Fix merge conflict 4. #

Patch Set 11 : Fix merge conflict 5. #

Patch Set 12 : Fix merge conflict 6. #

Patch Set 13 : Fix build errors 4. #

Patch Set 14 : Fix logic error. #

Patch Set 15 : Fix build errors 5. #

Patch Set 16 : Fix build errors 6. #

Patch Set 17 : Fix merge conflict 7. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -239 lines) Patch
M base/json/json_string_value_serializer.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -6 lines 0 comments Download
M base/json/json_writer.h View 1 2 3 4 5 2 chunks +17 lines, -14 lines 0 comments Download
M base/json/json_writer.cc View 1 2 3 4 5 8 chunks +26 lines, -27 lines 0 comments Download
M base/json/json_writer_unittest.cc View 1 2 3 4 5 6 chunks +16 lines, -16 lines 0 comments Download
M base/tracked_objects_unittest.cc View 13 chunks +14 lines, -14 lines 0 comments Download
M chrome/browser/accessibility/accessibility_extension_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_json.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_extension_api.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_manager_extension_api.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_to_mobile_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/cros/network_library.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/cros/network_library_impl_cros.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/cros/network_parser.cc View 1 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.cc View 1 2 3 4 5 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_event_router.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_handler_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_manager_util.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/input_method_event_router.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/debugger/devtools_window.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_extension_api.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/api_resource_event_notifier.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/proxy/proxy_api.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/terminal/terminal_private_api.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/webrequest/webrequest_api.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/app_notification.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/app_notification_storage.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browser_event_router.cc View 14 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/extensions/extension_cookies_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_debugger_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_devtools_bridge.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_function.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_idle_api.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_input_ime_api.cc View 1 8 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_input_ui_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_management_api.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_menu_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_service.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_omnibox_api.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_preference_api.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_processes_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_tts_api_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_tts_engine_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_webnavigation_api.cc View 1 2 3 4 5 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/permissions_updater.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/settings/setting_change.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/settings/settings_apitest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/settings/settings_leveldb_storage.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/settings/settings_quota_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/settings/settings_storage_quota_enforcer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/settings/settings_storage_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/settings/settings_sync_unittest.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/settings/settings_sync_util.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/system/system_api.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/history_extension_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/history/starred_url_database.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/net/net_log_logger.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_handler_chromeos.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/speech/speech_input_extension_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/api/sync_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync/notifier/p2p_notifier.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/extension_settings_helper.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/translate/translate_manager_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/workers_ui.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/json_value_serializer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_json_requests.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/javascript_message_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/response.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/webdriver/webdriver_automation.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/webdriver/webdriver_session.cc View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/test/webdriver/webdriver_util.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/debugger/devtools_http_handler_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/webui/web_ui_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M gpu/tools/compositor_model_bench/render_tree.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ipc/ipc_message_utils.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M jingle/glue/utils.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/base/transport_security_state.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M net/test/remote_test_server.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/json_host_config.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M sync/engine/model_safe_worker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M sync/engine/nigori_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M sync/js/js_arg_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M sync/js/js_event_details.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M sync/sessions/session_state.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -1 line 0 comments Download
M sync/syncable/model_type_payload_map.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
Eric Dingle
This is just a clean up change. The API change occurs in src/base/json_writer.*. The rest ...
8 years, 9 months ago (2012-03-07 23:59:46 UTC) #1
Eric Dingle
Ping.
8 years, 9 months ago (2012-03-12 15:41:22 UTC) #2
Eric Dingle
8 years, 9 months ago (2012-03-12 15:53:52 UTC) #3
darin (slow to review)
base/ changes LGTM sorry for the delayed response.
8 years, 9 months ago (2012-03-12 17:53:18 UTC) #4
darin (slow to review)
LGTM for all.
8 years, 9 months ago (2012-03-12 17:58:09 UTC) #5
willchan no longer on Chromium
net/ LGTM On Mon, Mar 12, 2012 at 10:58 AM, <darin@chromium.org> wrote: > LGTM for ...
8 years, 9 months ago (2012-03-12 18:00:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/9590002/28002
8 years, 9 months ago (2012-03-12 20:28:26 UTC) #7
commit-bot: I haz the power
Can't apply patch for file base/json/json_string_value_serializer.cc. While running patch -p1 --forward --force; patching file base/json/json_string_value_serializer.cc ...
8 years, 9 months ago (2012-03-12 20:28:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/9590002/33001
8 years, 9 months ago (2012-03-12 20:50:54 UTC) #9
commit-bot: I haz the power
Can't apply patch for file base/json/json_string_value_serializer.cc. While running patch -p1 --forward --force; patching file base/json/json_string_value_serializer.cc ...
8 years, 9 months ago (2012-03-12 20:51:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/9590002/36004
8 years, 9 months ago (2012-03-12 21:42:19 UTC) #11
commit-bot: I haz the power
Can't apply patch for file base/json/json_string_value_serializer.cc. While running patch -p1 --forward --force; patching file base/json/json_string_value_serializer.cc ...
8 years, 9 months ago (2012-03-12 21:42:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/9590002/43005
8 years, 9 months ago (2012-03-14 20:59:19 UTC) #13
commit-bot: I haz the power
Presubmit check for 9590002-43005 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 9 months ago (2012-03-14 21:00:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/9590002/43005
8 years, 9 months ago (2012-03-14 21:08:53 UTC) #15
commit-bot: I haz the power
Try job failure for 9590002-43005 (retry) on android for steps "Compile, build". It's a second ...
8 years, 9 months ago (2012-03-14 22:10:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/9590002/46006
8 years, 9 months ago (2012-03-15 20:16:09 UTC) #17
commit-bot: I haz the power
Can't apply patch for file chrome/browser/chromeos/gdata/gdata_file_system.cc. While running patch -p1 --forward --force; patching file chrome/browser/chromeos/gdata/gdata_file_system.cc ...
8 years, 9 months ago (2012-03-15 21:28:41 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericdingle@chromium.org/9590002/46010
8 years, 9 months ago (2012-03-15 22:45:11 UTC) #19
commit-bot: I haz the power
8 years, 9 months ago (2012-03-16 02:00:12 UTC) #20
Change committed as 127080

Powered by Google App Engine
This is Rietveld 408576698