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

Issue 1548293002: Use scoped_ptr in Files-map and remove unused functions (Closed)

Created:
4 years, 12 months ago by Olli Raula
Modified:
4 years, 11 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use scoped_ptr in Files-map and remove unused functions Use scoped_ptr in Files because then we can make it simpler and everything get always deleted. Also removed unused clone function. Committed: https://crrev.com/2d06d8be21b5d0730628e3189059d54754501405 Cr-Commit-Position: refs/heads/master@{#367056}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -24 lines) Patch
M net/tools/flip_server/mem_cache.h View 2 chunks +1 line, -4 lines 3 comments Download
M net/tools/flip_server/mem_cache.cc View 3 chunks +6 lines, -20 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Olli Raula
Could you review?
4 years, 12 months ago (2015-12-28 09:23:06 UTC) #3
Ryan Hamilton
LGTM https://codereview.chromium.org/1548293002/diff/1/net/tools/flip_server/mem_cache.h File net/tools/flip_server/mem_cache.h (right): https://codereview.chromium.org/1548293002/diff/1/net/tools/flip_server/mem_cache.h#newcode117 net/tools/flip_server/mem_cache.h:117: using Files = std::map<std::string, scoped_ptr<FileData>>; Is there any ...
4 years, 12 months ago (2015-12-28 15:06:30 UTC) #4
Avi (use Gerrit)
https://codereview.chromium.org/1548293002/diff/1/net/tools/flip_server/mem_cache.h File net/tools/flip_server/mem_cache.h (right): https://codereview.chromium.org/1548293002/diff/1/net/tools/flip_server/mem_cache.h#newcode117 net/tools/flip_server/mem_cache.h:117: using Files = std::map<std::string, scoped_ptr<FileData>>; On 2015/12/28 15:06:30, Ryan ...
4 years, 12 months ago (2015-12-28 15:09:43 UTC) #5
Ryan Hamilton
https://codereview.chromium.org/1548293002/diff/1/net/tools/flip_server/mem_cache.h File net/tools/flip_server/mem_cache.h (right): https://codereview.chromium.org/1548293002/diff/1/net/tools/flip_server/mem_cache.h#newcode117 net/tools/flip_server/mem_cache.h:117: using Files = std::map<std::string, scoped_ptr<FileData>>; On 2015/12/28 15:09:43, Avi ...
4 years, 11 months ago (2015-12-28 18:23:25 UTC) #6
Ryan Hamilton
Oh, and still LGTM, of course.
4 years, 11 months ago (2015-12-28 18:23:40 UTC) #7
Olli Raula
> or are the synonymous? There is so much new hotness in C++11 that I'm ...
4 years, 11 months ago (2015-12-29 06:36:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1548293002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1548293002/1
4 years, 11 months ago (2015-12-29 06:37:20 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2015-12-29 06:41:51 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2015-12-29 06:42:37 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2d06d8be21b5d0730628e3189059d54754501405
Cr-Commit-Position: refs/heads/master@{#367056}

Powered by Google App Engine
This is Rietveld 408576698