Commit 808436f8 authored by Jose Dapena Paz's avatar Jose Dapena Paz Committed by Commit Bot

IWYU: include CrxUpdateItem for pair in accessibility main handler.

Fix build issue:
/usr/include/c++/9/bits/unordered_map.h:105:18:   required from ‘class std::unordered_map<std::__cxx11::basic_string<char>, update_client::CrxUpdateItem>’
../../chrome/browser/ui/webui/settings/accessibility_main_handler.h:72:7:   required from here
/usr/include/c++/9/bits/stl_pair.h:215:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type

Bug: 957519
Change-Id: I0c1f47c6cdd6f91828d3589bef4355d4602c2e1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2453451Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Commit-Queue: José Dapena Paz <jdapena@igalia.com>
Cr-Commit-Position: refs/heads/master@{#814575}
parent a5a8696e
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "base/macros.h" #include "base/macros.h"
#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
#include "components/update_client/crx_update_item.h"
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/accessibility/accessibility_manager.h" #include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
...@@ -22,10 +23,6 @@ namespace base { ...@@ -22,10 +23,6 @@ namespace base {
class ListValue; class ListValue;
} }
namespace update_client {
struct CrxUpdateItem;
} // namespace update_client
class PrefService; class PrefService;
namespace settings { namespace settings {
......
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