|
|
DescriptionRemove ScopedVector in //component/undo
BUG=554289
Review-Url: https://codereview.chromium.org/2644203003
Cr-Commit-Position: refs/heads/master@{#446171}
Committed: https://chromium.googlesource.com/chromium/src/+/da6df4de66659c8115e3cfb08b593dc3e4726d8d
Patch Set 1 #
Total comments: 6
Patch Set 2 : Remove ScopedVector in //component/undo #Patch Set 3 : Remove ScopedVector in //component/undo #Patch Set 4 : Remove ScopedVector in //component/undo #
Total comments: 2
Patch Set 5 : Remove ScopedVector in //component/undo #
Total comments: 2
Patch Set 6 : Remove ScopedVector in //component/undo #
Messages
Total messages: 38 (28 generated)
The CQ bit was checked by ke.he@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
ke.he@intel.com changed reviewers: + sky@chromium.org
Hi, sky@, I removed the depreciated ScopedVector, Could you PTAL? Thanks very much.
https://codereview.chromium.org/2644203003/diff/1/components/undo/undo_manage... File components/undo/undo_manager.cc (right): https://codereview.chromium.org/2644203003/diff/1/components/undo/undo_manage... components/undo/undo_manager.cc:43: for (auto ri = operations_.rbegin(); ri != operations_.rend(); ++ri) { no {} https://codereview.chromium.org/2644203003/diff/1/components/undo/undo_manage... components/undo/undo_manager.cc:206: std::vector<UndoOperation*> UndoManager::ConvertToRawPtrVector( Move this into anonymous namespace at top of file. https://codereview.chromium.org/2644203003/diff/1/components/undo/undo_manage... components/undo/undo_manager.cc:209: std::transform( Use a for loop, same amount of code and more readable.
The CQ bit was checked by ke.he@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by ke.he@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by ke.he@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Hi, Sky@, Thanks! CL updated, PTAL. https://codereview.chromium.org/2644203003/diff/1/components/undo/undo_manage... File components/undo/undo_manager.cc (right): https://codereview.chromium.org/2644203003/diff/1/components/undo/undo_manage... components/undo/undo_manager.cc:43: for (auto ri = operations_.rbegin(); ri != operations_.rend(); ++ri) { On 2017/01/20 16:57:05, sky wrote: > no {} Done. https://codereview.chromium.org/2644203003/diff/1/components/undo/undo_manage... components/undo/undo_manager.cc:206: std::vector<UndoOperation*> UndoManager::ConvertToRawPtrVector( On 2017/01/20 16:57:05, sky wrote: > Move this into anonymous namespace at top of file. Done. https://codereview.chromium.org/2644203003/diff/1/components/undo/undo_manage... components/undo/undo_manager.cc:209: std::transform( On 2017/01/20 16:57:05, sky wrote: > Use a for loop, same amount of code and more readable. Done.
https://codereview.chromium.org/2644203003/diff/60001/components/undo/undo_ma... File components/undo/undo_manager.cc (right): https://codereview.chromium.org/2644203003/diff/60001/components/undo/undo_ma... components/undo/undo_manager.cc:149: std::vector<UndoOperation*> UndoManager::GetAllUndoOperations() const { This function is only used in tests. Please move to the test that needs it and friend a class named UndoManagerTestApi that exposes this function.
The CQ bit was checked by ke.he@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Hi, Sky@, CL updated, PTAL. Thanks! https://codereview.chromium.org/2644203003/diff/60001/components/undo/undo_ma... File components/undo/undo_manager.cc (right): https://codereview.chromium.org/2644203003/diff/60001/components/undo/undo_ma... components/undo/undo_manager.cc:149: std::vector<UndoOperation*> UndoManager::GetAllUndoOperations() const { On 2017/01/23 16:22:16, sky wrote: > This function is only used in tests. Please move to the test that needs it and > friend a class named UndoManagerTestApi that exposes this function. Done. ConvertToRawPtrVector() is moved into test file too.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2644203003/diff/80001/components/undo/undo_ma... File components/undo/undo_manager_test.cc (right): https://codereview.chromium.org/2644203003/diff/80001/components/undo/undo_ma... components/undo/undo_manager_test.cc:33: }; private: DISALLOW_IMPLICIT_CONSTRUCTORS
The CQ bit was checked by ke.he@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Sky@, Thanks for your review:) CL updated, PTAL. https://codereview.chromium.org/2644203003/diff/80001/components/undo/undo_ma... File components/undo/undo_manager_test.cc (right): https://codereview.chromium.org/2644203003/diff/80001/components/undo/undo_ma... components/undo/undo_manager_test.cc:33: }; On 2017/01/24 18:15:52, sky wrote: > private: DISALLOW_IMPLICIT_CONSTRUCTORS Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
LGTM
The CQ bit was checked by ke.he@intel.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1485389438935090, "parent_rev": "76ed9ed0d250af589239a52d427a1f72991dee71", "commit_rev": "da6df4de66659c8115e3cfb08b593dc3e4726d8d"}
Message was sent while issue was closed.
Description was changed from ========== Remove ScopedVector in //component/undo BUG=554289 ========== to ========== Remove ScopedVector in //component/undo BUG=554289 Review-Url: https://codereview.chromium.org/2644203003 Cr-Commit-Position: refs/heads/master@{#446171} Committed: https://chromium.googlesource.com/chromium/src/+/da6df4de66659c8115e3cfb08b59... ==========
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/da6df4de66659c8115e3cfb08b59... |