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

Issue 1129083003: More base::Values-related bare pointer -> scoped_ptr conversions (Closed)

Created:
5 years, 7 months ago by Evan Stade
Modified:
5 years, 7 months ago
Reviewers:
danakj, brettw
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, michaelpg+watch-options_chromium.org, creis+watch_chromium.org, nkostylev+watch_chromium.org, mlamouri+watch-content_chromium.org, grt+watch_chromium.org, samuong+watch_chromium.org, nasko+codewatch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, chromium-apps-reviews_chromium.org, cc-bugs_chromium.org, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, stgao, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

More base::Values-related bare pointer -> scoped_ptr conversions main change: Value::CreateNullValue returns a scoped_ptr BUG=none Committed: https://crrev.com/a68b0442058dc2c5e61177b88697d8a461667328 Cr-Commit-Position: refs/heads/master@{#329443}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 16

Patch Set 3 : chromedriver unit tests #

Patch Set 4 : slightly shorter code #

Patch Set 5 : fix gpu internals, resolve merge conflicts #

Patch Set 6 : fix bad merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -116 lines) Patch
M base/json/json_parser.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/json/json_writer_unittest.cc View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M base/prefs/json_pref_store.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M base/prefs/pref_service.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M base/test/values_test_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/values.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M base/values.cc View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M base/values_unittest.cc View 1 2 3 4 5 4 chunks +7 lines, -8 lines 0 comments Download
M cc/debug/invalidation_benchmark.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/settings_private/settings_private_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/pref_model_associator_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/prefs/prefs_syncable_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/tracked/pref_hash_calculator_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/certificate_manager_handler.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/cookies_view_handler.cc View 3 chunks +21 lines, -19 lines 0 comments Download
M chrome/browser/ui/webui/options/core_options_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/web_view_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/commands_unittest.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/chromedriver/server/http_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/content/distiller_page_web_contents.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/core/distiller_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M components/dom_distiller/ios/distiller_page_ios.mm View 1 chunk +1 line, -1 line 0 comments Download
M components/history/core/browser/top_sites_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/json_schema/json_schema_validator_unittest_base.cc View 5 chunks +10 lines, -18 lines 0 comments Download
M components/policy/core/common/mac_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/common/registry_dict_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/common/schema_map_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/java/gin_java_script_to_java_types_coercion.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_internals_ui.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M content/child/v8_value_converter_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 2 chunks +7 lines, -4 lines 0 comments Download
M extensions/browser/extension_function.h View 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/extension_function.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/common/event_filtering_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/permissions/manifest_permission_set_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/script_injection.cc View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_message_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/base/video_frame_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M tools/json_schema_compiler/test/error_generation_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
Evan Stade
5 years, 7 months ago (2015-05-08 17:21:56 UTC) #2
danakj
https://codereview.chromium.org/1129083003/diff/20001/base/json/json_parser.cc File base/json/json_parser.cc (right): https://codereview.chromium.org/1129083003/diff/20001/base/json/json_parser.cc#newcode902 base/json/json_parser.cc:902: Value* JSONParser::ConsumeLiteral() { TODO to make this return a ...
5 years, 7 months ago (2015-05-08 18:07:26 UTC) #4
Evan Stade
https://codereview.chromium.org/1129083003/diff/20001/base/json/json_parser.cc File base/json/json_parser.cc (right): https://codereview.chromium.org/1129083003/diff/20001/base/json/json_parser.cc#newcode902 base/json/json_parser.cc:902: Value* JSONParser::ConsumeLiteral() { On 2015/05/08 18:07:25, danakj wrote: > ...
5 years, 7 months ago (2015-05-08 18:32:10 UTC) #5
danakj
https://codereview.chromium.org/1129083003/diff/20001/base/json/json_writer_unittest.cc File base/json/json_writer_unittest.cc (right): https://codereview.chromium.org/1129083003/diff/20001/base/json/json_writer_unittest.cc#newcode15 base/json/json_writer_unittest.cc:15: Value* root = Value::CreateNullValue().release(); On 2015/05/08 18:32:09, Evan Stade ...
5 years, 7 months ago (2015-05-08 18:33:42 UTC) #6
Evan Stade
https://codereview.chromium.org/1129083003/diff/20001/base/json/json_writer_unittest.cc File base/json/json_writer_unittest.cc (right): https://codereview.chromium.org/1129083003/diff/20001/base/json/json_writer_unittest.cc#newcode15 base/json/json_writer_unittest.cc:15: Value* root = Value::CreateNullValue().release(); On 2015/05/08 18:33:41, danakj wrote: ...
5 years, 7 months ago (2015-05-08 18:38:27 UTC) #7
danakj
https://codereview.chromium.org/1129083003/diff/20001/base/values_unittest.cc File base/values_unittest.cc (right): https://codereview.chromium.org/1129083003/diff/20001/base/values_unittest.cc#newcode392 base/values_unittest.cc:392: Value* original_null = Value::CreateNullValue().release(); On 2015/05/08 18:38:27, Evan Stade ...
5 years, 7 months ago (2015-05-08 18:48:28 UTC) #8
Evan Stade
https://codereview.chromium.org/1129083003/diff/20001/base/values_unittest.cc File base/values_unittest.cc (right): https://codereview.chromium.org/1129083003/diff/20001/base/values_unittest.cc#newcode392 base/values_unittest.cc:392: Value* original_null = Value::CreateNullValue().release(); On 2015/05/08 18:48:28, danakj wrote: ...
5 years, 7 months ago (2015-05-08 18:54:13 UTC) #9
danakj
Fine. I was excited about seeing more scoped_ptr usage instead of raw ptr ownership, so ...
5 years, 7 months ago (2015-05-09 00:12:52 UTC) #11
Evan Stade
thanks for the assistance. git cl owners seems to approve brettw as a reviewer for ...
5 years, 7 months ago (2015-05-09 00:58:14 UTC) #12
brettw
LGTM if Dana is happy.
5 years, 7 months ago (2015-05-12 00:22:30 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129083003/80001
5 years, 7 months ago (2015-05-12 16:14:48 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/36702)
5 years, 7 months ago (2015-05-12 16:34:18 UTC) #18
Evan Stade
On 2015/05/12 00:22:30, brettw wrote: > LGTM if Dana is happy. Dana^
5 years, 7 months ago (2015-05-12 16:44:28 UTC) #19
danakj
LGTM
5 years, 7 months ago (2015-05-12 16:49:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129083003/100001
5 years, 7 months ago (2015-05-12 17:18:40 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-05-12 18:12:03 UTC) #24
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 18:12:41 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a68b0442058dc2c5e61177b88697d8a461667328
Cr-Commit-Position: refs/heads/master@{#329443}

Powered by Google App Engine
This is Rietveld 408576698