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

Issue 1468013002: ScopedPtrMap -> std::map from /component (Closed)

Created:
5 years, 1 month ago by limasdf
Modified:
5 years, 1 month ago
Reviewers:
raymes, sdefresne
CC:
chromium-reviews, csharrison+watch_chromium.org, loading-reviews+metrics_chromium.org, markusheintz_, maxbogue+watch_chromium.org, msramek+watch_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, raymes+watch_chromium.org, tim+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ScopedPtrMap -> std::map from /component C++ 11 enables containers that contain move-only type, scoped_ptr. So, Use std::map<key, scoped_ptr<Foo>> instead of ScopedPtrMap. BUG=554291 TBR=raymes@chromium.org Committed: https://crrev.com/cdc9400e91c8d182af2b051724458049dd5bfeca Cr-Commit-Position: refs/heads/master@{#361118}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : nit #

Messages

Total messages: 13 (7 generated)
limasdf
Please take a look. thanks. raymes for /chrome/browser/content_settings sdefresne for /component
5 years, 1 month ago (2015-11-23 12:03:32 UTC) #5
sdefresne
lgtm https://codereview.chromium.org/1468013002/diff/20001/components/content_settings/core/browser/content_settings_pref_provider.cc File components/content_settings/core/browser/content_settings_pref_provider.cc (left): https://codereview.chromium.org/1468013002/diff/20001/components/content_settings/core/browser/content_settings_pref_provider.cc#oldcode98 components/content_settings/core/browser/content_settings_pref_provider.cc:98: content_settings_prefs_.set( nit: I think the equivalent of ScopedPtrMap::set() ...
5 years, 1 month ago (2015-11-23 13:28:13 UTC) #6
limasdf
TBRing chrome/browser/content_settings/content_settings_pref_provider_unittest.cc Because it's simple enough. it->second => it->second.get() https://codereview.chromium.org/1468013002/diff/20001/components/content_settings/core/browser/content_settings_pref_provider.cc File components/content_settings/core/browser/content_settings_pref_provider.cc (left): https://codereview.chromium.org/1468013002/diff/20001/components/content_settings/core/browser/content_settings_pref_provider.cc#oldcode98 components/content_settings/core/browser/content_settings_pref_provider.cc:98: ...
5 years, 1 month ago (2015-11-23 15:12:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1468013002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1468013002/40001
5 years, 1 month ago (2015-11-23 15:12:21 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 1 month ago (2015-11-23 16:24:05 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-11-23 16:25:11 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cdc9400e91c8d182af2b051724458049dd5bfeca
Cr-Commit-Position: refs/heads/master@{#361118}

Powered by Google App Engine
This is Rietveld 408576698