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

Issue 12092061: Code cleaning: Uses scoped_ptr<> to express ownership rather than writing ownership in comments. (Closed)

Created:
7 years, 10 months ago by alias of yukishiino
Modified:
7 years, 10 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Code cleaning: Uses scoped_ptr<> to express ownership rather than writing ownership in comments. Replaces Response* with scoped_ptr<Response> in dbus code and its related code. BUG=163231 TEST=no regression / no behavior changes Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181266

Patch Set 1 #

Total comments: 11

Patch Set 2 : Added unittests. #

Patch Set 3 : Added some more missed files. #

Patch Set 4 : Synced and merged. #

Total comments: 2

Patch Set 5 : Fixed a typo. #

Patch Set 6 : Added chrome/browser/password_manager/native_backend_kwallet_x_unitte\ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -309 lines) Patch
M chrome/browser/chromeos/dbus/liveness_service_provider.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/dbus/service_provider_test_helper.h View 1 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/dbus/service_provider_test_helper.cc View 1 3 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc View 1 2 3 4 5 10 chunks +16 lines, -16 lines 0 comments Download
M chromeos/dbus/blocking_method_caller.h View 2 chunks +2 lines, -4 lines 0 comments Download
M chromeos/dbus/blocking_method_caller.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chromeos/dbus/blocking_method_caller_unittest.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chromeos/dbus/bluetooth_agent_service_provider.cc View 7 chunks +37 lines, -34 lines 0 comments Download
M chromeos/dbus/ibus/ibus_engine_factory_service.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chromeos/dbus/ibus/ibus_engine_factory_service_unittest.cc View 1 3 chunks +15 lines, -7 lines 0 comments Download
M chromeos/dbus/ibus/ibus_engine_service.cc View 1 2 3 12 chunks +15 lines, -27 lines 0 comments Download
M chromeos/dbus/ibus/ibus_engine_service_unittest.cc View 1 2 3 29 chunks +31 lines, -29 lines 0 comments Download
M chromeos/dbus/ibus/ibus_panel_service.cc View 1 2 3 9 chunks +9 lines, -18 lines 0 comments Download
M chromeos/dbus/ibus/ibus_panel_service_unittest.cc View 1 2 3 10 chunks +13 lines, -10 lines 0 comments Download
M chromeos/dbus/shill_client_unittest_base.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/geolocation/wifi_data_provider_linux.cc View 1 2 2 chunks +9 lines, -8 lines 0 comments Download
M content/browser/geolocation/wifi_data_provider_linux_unittest.cc View 1 2 3 4 8 chunks +19 lines, -19 lines 0 comments Download
M dbus/exported_object.h View 1 2 chunks +6 lines, -11 lines 0 comments Download
M dbus/exported_object.cc View 3 chunks +16 lines, -17 lines 0 comments Download
M dbus/message.h View 1 3 chunks +17 lines, -17 lines 0 comments Download
M dbus/message.cc View 2 chunks +17 lines, -15 lines 0 comments Download
M dbus/mock_object_proxy.h View 1 2 chunks +12 lines, -2 lines 0 comments Download
M dbus/mock_unittest.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M dbus/object_proxy.h View 1 chunk +2 lines, -3 lines 0 comments Download
M dbus/object_proxy.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M dbus/test_service.cc View 1 9 chunks +29 lines, -30 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
alias of yukishiino
Hi Satoru-san, Could you review this CL? Also could you run try-bots because I don't ...
7 years, 10 months ago (2013-01-30 06:15:43 UTC) #1
satorux1
Thank you for working on this! https://codereview.chromium.org/12092061/diff/1/dbus/exported_object.h File dbus/exported_object.h (right): https://codereview.chromium.org/12092061/diff/1/dbus/exported_object.h#newcode46 dbus/exported_object.h:46: // not delete ...
7 years, 10 months ago (2013-01-30 06:36:57 UTC) #2
alias of yukishiino
The CL was missing unittests, and I've added them. Could you take another look and ...
7 years, 10 months ago (2013-01-30 13:13:44 UTC) #3
satorux1
LGTM https://codereview.chromium.org/12092061/diff/1/dbus/message.h File dbus/message.h (right): https://codereview.chromium.org/12092061/diff/1/dbus/message.h#newcode208 dbus/message.h:208: // Used for implementing exported methods. On 2013/01/30 ...
7 years, 10 months ago (2013-01-31 01:32:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yuki@chromium.org/12092061/2037
7 years, 10 months ago (2013-01-31 13:21:31 UTC) #5
commit-bot: I haz the power
Presubmit check for 12092061-2037 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 10 months ago (2013-01-31 13:21:40 UTC) #6
alias of yukishiino
Hi Steven, Could you review this CL as an owner of content/browser/geolocation?
7 years, 10 months ago (2013-01-31 13:23:59 UTC) #7
stevenjb
lgtm
7 years, 10 months ago (2013-01-31 18:08:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yuki@chromium.org/12092061/2037
7 years, 10 months ago (2013-02-01 02:34:10 UTC) #9
commit-bot: I haz the power
Failed to apply patch for chromeos/dbus/ibus/ibus_engine_service.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-01 02:34:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yuki@chromium.org/12092061/15005
7 years, 10 months ago (2013-02-01 05:35:03 UTC) #11
commit-bot: I haz the power
Presubmit check for 12092061-15005 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 10 months ago (2013-02-01 05:35:11 UTC) #12
alias of yukishiino
Hi John, Could you review this CL as an owner of content/browser/geolocation/? This CL simply ...
7 years, 10 months ago (2013-02-01 05:47:25 UTC) #13
John Knottenbelt
LGTM. Nice refactoring! https://codereview.chromium.org/12092061/diff/15005/content/browser/geolocation/wifi_data_provider_linux_unittest.cc File content/browser/geolocation/wifi_data_provider_linux_unittest.cc (right): https://codereview.chromium.org/12092061/diff/15005/content/browser/geolocation/wifi_data_provider_linux_unittest.cc#newcode117 content/browser/geolocation/wifi_data_provider_linux_unittest.cc:117: dbus::Response* CreateNetowrkManagerProxyResponse( Why do you not ...
7 years, 10 months ago (2013-02-01 11:48:32 UTC) #14
alias of yukishiino
Thanks for the review. I've fixed the typo, and will submit the CL soon. Cheers, ...
7 years, 10 months ago (2013-02-01 13:49:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yuki@chromium.org/12092061/14004
7 years, 10 months ago (2013-02-01 13:50:23 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-01 18:24:21 UTC) #17
alias of yukishiino
Hi Mike, Could you review this CL as an owner of chrome/browser/password_manager/? This CL replaces ...
7 years, 10 months ago (2013-02-02 18:14:19 UTC) #18
Mike Mammarella
password_manager/native_backend_kwallet_x_unittest.cc LGTM
7 years, 10 months ago (2013-02-05 02:27:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yuki@chromium.org/12092061/38001
7 years, 10 months ago (2013-02-06 06:19:24 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-06 07:14:40 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yuki@chromium.org/12092061/38001
7 years, 10 months ago (2013-02-07 07:12:49 UTC) #22
commit-bot: I haz the power
7 years, 10 months ago (2013-02-07 09:46:25 UTC) #23
Message was sent while issue was closed.
Change committed as 181266

Powered by Google App Engine
This is Rietveld 408576698