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

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed)

Created:
8 years, 5 months ago by vabr (Chromium)
Modified:
8 years, 4 months ago
Reviewers:
Yoyo Zhou, brettw, kkania
CC:
chromium-reviews, pam+watch_chromium.org, MAD, mihaip-chromium-reviews_chromium.org, jar (doing other things), erikwright (departed), jam, cbentzel+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, grt+watch_chromium.org, Satish, darin-cc_chromium.org, brettw-cc_chromium.org, stuartmorgan+watch_chromium.org, markusheintz_, Ilya Sherman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Correct const accessors in base/values.(h|cc) For problem description and other info please see the BUG page. This is for DictionaryValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148833

Patch Set 1 #

Patch Set 2 : Copyright 2011 -> 2012 #

Patch Set 3 : Try-server says: more const! #

Patch Set 4 : More consts from try-servers #

Patch Set 5 : Yet more consts #

Patch Set 6 : Still further consts + removing const in webdriver::Command::parameters_ #

Patch Set 7 : One more, Windows-only #

Total comments: 4

Patch Set 8 : Reverting webdriver:Command::parameters_ to const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -297 lines) Patch
M base/json/json_value_converter.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M base/json/json_writer.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/test/trace_event_analyzer.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M base/test/values_test_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/values.h View 2 chunks +18 lines, -8 lines 0 comments Download
M base/values.cc View 12 chunks +87 lines, -35 lines 0 comments Download
M chrome/browser/background/background_contents_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/background/background_contents_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_codec.cc View 4 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_html_writer.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/cros/certificate_pattern.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/cros/native_network_parser.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library_impl_cros.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/cros/network_parser.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/cros/network_ui_data.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/cros/onc_network_parser.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_wapi_parser.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/debugger/devtools_file_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/browsing_data/browsing_data_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/commands/command_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/context_menu/context_menu_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/omnibox/omnibox_api.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/proxy/proxy_api_helpers.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/proxy/proxy_api_helpers.cc View 8 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_helpers.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_helpers.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/event_listener_map.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_override_apitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 16 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_web_ui.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/menu_manager.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/gpu_blacklist.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/plugin_finder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/plugin_finder_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/policy_loader_win.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/prefs/pref_model_associator.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/print_job_worker.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_resource/notification_promo.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/extension_api.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/extensions/api/extension_api_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 14 chunks +16 lines, -16 lines 0 comments Download
M chrome/common/extensions/features/feature.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/message_bundle.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/net/gaia/oauth2_mint_token_flow.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution_dummy.cc View 1 2 3 4 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/chrome_mock_render_thread.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/service/cloud_print/print_system_cups.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_json_requests.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_json_requests.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/command.h View 1 2 3 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/webdriver/commands/command.cc View 1 2 3 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/webdriver/commands/cookie_commands.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/test/webdriver/commands/create_session.cc View 1 2 3 4 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/execute_async_script_command.cc View 1 2 3 4 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/execute_command.cc View 1 2 3 4 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/html5_location_commands.cc View 1 2 3 4 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/keys_command.cc View 1 2 3 4 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/response.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/target_locator_commands.cc View 1 2 3 4 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/commands/webelement_commands.h View 1 2 3 4 5 6 7 15 chunks +15 lines, -15 lines 0 comments Download
M chrome/test/webdriver/commands/webelement_commands.cc View 1 2 3 4 5 6 7 17 chunks +17 lines, -17 lines 0 comments Download
M chrome/test/webdriver/webdriver_automation.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/webdriver_automation.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/webdriver_capabilities_parser.cc View 1 2 3 6 chunks +7 lines, -7 lines 0 comments Download
M chrome/test/webdriver/webdriver_session.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/webdriver/webdriver_session.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -2 lines 0 comments Download
M chromeos/dbus/flimflam_device_client.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/flimflam_manager_client_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chromeos/network/network_sms_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cloud_print/service/service_state.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/geolocation/network_location_request.cc View 5 chunks +7 lines, -6 lines 0 comments Download
M content/browser/speech/google_one_shot_remote_engine.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/v8_value_converter_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_message_utils.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_request_headers.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_response_headers.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/page_size_margins.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/policy_hack/policy_watcher.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/public/change_record_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/syncapi_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M sync/protocol/proto_value_conversions_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/cc_generator.py View 1 2 3 4 5 6 7 6 chunks +7 lines, -7 lines 0 comments Download
M tools/json_schema_compiler/util.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
vabr (Chromium)
Hi all, Could you please review the parts for which you are OWNERS? This is ...
8 years, 5 months ago (2012-07-25 18:00:53 UTC) #1
brettw
base LGTM (didn't look at the rest).
8 years, 5 months ago (2012-07-25 21:11:54 UTC) #2
kkania
Where/how is webdriver::Command::parameters_ being modified?
8 years, 5 months ago (2012-07-25 21:23:45 UTC) #3
Yoyo Zhou
extensions LGTM
8 years, 5 months ago (2012-07-25 22:20:39 UTC) #4
vabr (Chromium)
On 2012/07/25 21:23:45, kkania wrote: > Where/how is webdriver::Command::parameters_ being modified? First, Command::GetDictionaryParameter exposes parts ...
8 years, 5 months ago (2012-07-26 07:13:44 UTC) #5
kkania
On 2012/07/26 07:13:44, vabr (Chromium) wrote: > On 2012/07/25 21:23:45, kkania wrote: > > Where/how ...
8 years, 5 months ago (2012-07-26 15:28:11 UTC) #6
vabr (Chromium)
On 2012/07/26 15:28:11, kkania wrote: > On 2012/07/26 07:13:44, vabr (Chromium) wrote: > > On ...
8 years, 5 months ago (2012-07-26 20:43:10 UTC) #7
vabr (Chromium)
To kkania@: I added some comments at the places I talked about, mainly for my ...
8 years, 5 months ago (2012-07-26 20:48:02 UTC) #8
kkania
On 2012/07/26 20:43:10, vabr (Chromium) wrote: > On 2012/07/26 15:28:11, kkania wrote: > > On ...
8 years, 5 months ago (2012-07-26 20:51:05 UTC) #9
vabr (Chromium)
On 2012/07/26 20:51:05, kkania wrote: > On 2012/07/26 20:43:10, vabr (Chromium) wrote: > > On ...
8 years, 5 months ago (2012-07-26 20:56:07 UTC) #10
kkania
On 2012/07/26 20:56:07, vabr (Chromium) wrote: > On 2012/07/26 20:51:05, kkania wrote: > > On ...
8 years, 5 months ago (2012-07-26 21:06:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/10834004/61
8 years, 4 months ago (2012-07-27 07:47:37 UTC) #12
commit-bot: I haz the power
Try job failure for 10834004-61 (retry) on linux_rel for steps "interactive_ui_tests, browser_tests". It's a second ...
8 years, 4 months ago (2012-07-27 16:47:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/10834004/61
8 years, 4 months ago (2012-07-27 19:28:10 UTC) #14
commit-bot: I haz the power
Try job failure for 10834004-61 (previous was lost) on linux_chromeos for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=29389 Step ...
8 years, 4 months ago (2012-07-27 21:13:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/10834004/61
8 years, 4 months ago (2012-07-27 21:15:10 UTC) #16
commit-bot: I haz the power
8 years, 4 months ago (2012-07-27 22:27:17 UTC) #17
Change committed as 148833

Powered by Google App Engine
This is Rietveld 408576698