forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chromecast: Replace base::MakeUnique with std::make_unique
Should use std::make_unique directly instead of using base::MakeUnique since August[1]. So, this change removes usages of base::MakeUnique in //chromecast. This change removes `#include "base/memory/ptr_util.h"` if it's no more used in files. (Might not remove if base::WrapUnique is used) This change also adds `#include <memory>` header except the following two cases: - Not add the header if the file contains the <memory> header - Not add the header if the related header contains <memory> header (The style guide[2] says that foo.cc can rely on foo.h's includes) Confirmed no additional lint errors(by `git cl lint`) after this change. [1] https://chromium-review.googlesource.com/c/chromium/src/+/616016 [2] https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes Bug: 755727 Change-Id: I64d44049e6778913ae7d6b4d83862d2ded4b105d Reviewed-on: https://chromium-review.googlesource.com/874031 Reviewed-by: Sergey Volk <servolk@chromium.org> Commit-Queue: Jinho Bang <jinho.bang@samsung.com> Cr-Commit-Position: refs/heads/master@{#530323}
- Loading branch information
Showing
54 changed files
with
197 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.