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

Issue 2378083002: Replace deprecated version of SetWithoutPathExpansion() (Closed)

Created:
4 years, 2 months ago by pwang
Modified:
4 years, 2 months ago
Reviewers:
Bernhard Bauer, zino
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace deprecated version of SetWithoutPathExpansion() change SetWithoutPathExpansion(...,Value* in_value) to SetWithoutPathExpansion(...,std::unique_ptr<Value> in_value) I changed to std::unique_ptr<base::DictionaryValue> and In order to use SetWithoutPathExpansion(...,std::unique_ptr<Value> in_value) used std::move() in RegisterBackgroundContents of background_contents_service and MergeDataAndStartSyncing and ProcessSyncChanges of supervised_user_sync_service.cc BUG=650082 Committed: https://crrev.com/5037fa115e066741053b02372832295fd7851631 Cr-Commit-Position: refs/heads/master@{#424378}

Patch Set 1 : replaced deprecated version of SetWithoutPathExpansion() #

Patch Set 2 : changed return type and std::move to wrapunique #

Patch Set 3 : removed code of using wrapunique #

Patch Set 4 : restored background directory file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/family_info_fetcher_unittest.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc View 1 2 5 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 48 (36 generated)
pwang
SetWithoutPathExpansion(..., Value* in_value) changed to the SetWithoutPathExpansion(..., std::unique_ptr<Value> in_value)
4 years, 2 months ago (2016-09-28 14:29:01 UTC) #3
pwang
Hello, I'm newbie developer in the chromium project. https://cs.chromium.org/chromium/src/base/values.h?q=setwithout&sq=package:chromium&l=258 I try to change SetWithoutPathExpansion(...,Value* in_value) ...
4 years, 2 months ago (2016-09-29 11:46:22 UTC) #17
Bernhard Bauer
The patch looks good, but can you update the description? "Replace deprecated version of SetWithoutPathExpansion()" ...
4 years, 2 months ago (2016-09-30 09:09:23 UTC) #18
pwang
Thank you for your advice I thought you are right so I've just changed things ...
4 years, 2 months ago (2016-09-30 15:01:21 UTC) #26
Bernhard Bauer
On 2016/09/30 15:01:21, pwang wrote: > Thank you for your advice > I thought you ...
4 years, 2 months ago (2016-09-30 15:20:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2378083002/40001
4 years, 2 months ago (2016-09-30 16:34:19 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/270713)
4 years, 2 months ago (2016-09-30 16:44:18 UTC) #32
pwang
PTAL
4 years, 2 months ago (2016-09-30 16:53:45 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2378083002/60001
4 years, 2 months ago (2016-10-11 05:54:57 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2378083002/60001
4 years, 2 months ago (2016-10-11 05:59:00 UTC) #43
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-11 06:29:54 UTC) #46
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 06:31:24 UTC) #48
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5037fa115e066741053b02372832295fd7851631
Cr-Commit-Position: refs/heads/master@{#424378}

Powered by Google App Engine
This is Rietveld 408576698