Commit c909ef30 authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Do IWYU in a few header files.

https://crrev.com/675319 added more std::unique_ptr usage, but did not
always #include <memory>. As a result, the CL only builds due to luck.
When one sets use_custom_cxx=false, they no longer build, as seen in
this thread:
https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/UyJsVJ5QqWo/discussion

Change-Id: Ib9812b3210dac60176128b22c3881f7f33d785f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713037Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#679819}
parent e98f58e5
......@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_
#define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_DRAG_DROP_H_
#include <memory>
#include <vector>
#include "build/build_config.h"
......
......@@ -5,6 +5,7 @@
#ifndef COMPONENTS_EXO_WM_HELPER_H_
#define COMPONENTS_EXO_WM_HELPER_H_
#include <memory>
#include <vector>
#include "base/macros.h"
......
......@@ -5,6 +5,8 @@
#ifndef UI_AURA_CLIENT_DRAG_DROP_CLIENT_H_
#define UI_AURA_CLIENT_DRAG_DROP_CLIENT_H_
#include <memory>
#include "ui/aura/aura_export.h"
#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/gfx/native_widget_types.h"
......
......@@ -5,6 +5,8 @@
#ifndef UI_AURA_CLIENT_DRAG_DROP_DELEGATE_H_
#define UI_AURA_CLIENT_DRAG_DROP_DELEGATE_H_
#include <memory>
#include "ui/aura/aura_export.h"
#include "ui/aura/window.h"
#include "ui/base/dragdrop/os_exchange_data.h"
......
......@@ -5,6 +5,8 @@
#ifndef UI_VIEWS_DRAG_UTILS_H_
#define UI_VIEWS_DRAG_UTILS_H_
#include <memory>
#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/base/dragdrop/os_exchange_data.h"
#include "ui/gfx/native_widget_types.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment