chore: trim unused STL includes (#29414)

This commit is contained in:
David Sanders 2021-05-31 18:34:44 -07:00 committed by GitHub
parent 71fff6ea0e
commit 93c9374e95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 14 additions and 152 deletions

View file

@ -5,8 +5,8 @@
#include "shell/browser/api/electron_api_app.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/callback_helpers.h"

View file

@ -8,7 +8,6 @@
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/task/cancelable_task_tracker.h"

View file

@ -4,8 +4,6 @@
#include "shell/browser/api/electron_api_browser_window.h"
#include <memory>
#include "base/threading/thread_task_runner_handle.h"
#include "content/browser/renderer_host/render_widget_host_impl.h" // nogncheck
#include "content/browser/renderer_host/render_widget_host_owner_delegate.h" // nogncheck

View file

@ -5,7 +5,6 @@
#ifndef SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
#define SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
#include <memory>
#include <string>
#include <vector>

View file

@ -4,7 +4,6 @@
#include "shell/browser/api/electron_api_cookies.h"
#include <memory>
#include <utility>
#include "base/time/time.h"

View file

@ -5,7 +5,6 @@
#ifndef SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_
#define SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_
#include <memory>
#include <string>
#include "base/callback_list.h"

View file

@ -6,7 +6,6 @@
#define SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_
#include <map>
#include <string>
#include "base/callback.h"
#include "base/values.h"

View file

@ -2,7 +2,6 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include <string>
#include <utility>
#include <vector>

View file

@ -4,7 +4,6 @@
#include "shell/browser/api/electron_api_download_item.h"
#include <map>
#include <memory>
#include "base/strings/utf_string_conversions.h"

View file

@ -6,7 +6,6 @@
#define SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_
#include <string>
#include <vector>
#include "base/files/file_path.h"
#include "base/memory/weak_ptr.h"

View file

@ -4,7 +4,6 @@
#include "shell/browser/api/electron_api_global_shortcut.h"
#include <string>
#include <vector>
#include "base/stl_util.h"

View file

@ -6,7 +6,6 @@
#define SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_
#include <map>
#include <string>
#include <vector>
#include "base/callback.h"

View file

@ -4,7 +4,6 @@
#include "shell/browser/api/electron_api_menu.h"
#include <map>
#include <utility>
#include "shell/browser/api/ui_event.h"

View file

@ -8,7 +8,6 @@
#include "shell/browser/api/electron_api_menu.h"
#include <map>
#include <string>
#import "shell/browser/ui/cocoa/electron_menu_controller.h"

View file

@ -4,6 +4,7 @@
#include "shell/browser/api/electron_api_net_log.h"
#include <string>
#include <utility>
#include "base/command_line.h"

View file

@ -5,10 +5,6 @@
#ifndef SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_
#define SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_
#include <list>
#include <memory>
#include <string>
#include "base/callback.h"
#include "base/optional.h"
#include "base/values.h"

View file

@ -5,7 +5,6 @@
#ifndef SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_
#define SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_
#include <memory>
#include <string>
#include <vector>

View file

@ -6,7 +6,6 @@
#define SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_
#include <map>
#include <memory>
#include "gin/handle.h"
#include "gin/object_template_builder.h"

View file

@ -4,8 +4,6 @@
#include "shell/browser/api/electron_api_protocol.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/command_line.h"

View file

@ -4,7 +4,6 @@
#include "shell/browser/api/electron_api_screen.h"
#include <algorithm>
#include <string>
#include "base/bind.h"

View file

@ -5,7 +5,6 @@
#include "shell/browser/api/electron_api_session.h"
#include <algorithm>
#include <map>
#include <memory>
#include <set>
#include <string>

View file

@ -5,7 +5,6 @@
#include "shell/browser/api/electron_api_url_loader.h"
#include <algorithm>
#include <map>
#include <memory>
#include <string>
#include <utility>

View file

@ -5,7 +5,6 @@
#ifndef SHELL_BROWSER_API_ELECTRON_API_VIEW_H_
#define SHELL_BROWSER_API_ELECTRON_API_VIEW_H_
#include <memory>
#include <vector>
#include "electron/buildflags/buildflags.h"

View file

@ -5,7 +5,6 @@
#ifndef SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_
#define SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_
#include <memory>
#include <string>
#include <vector>

View file

@ -6,7 +6,6 @@
#define SHELL_BROWSER_API_GPUINFO_MANAGER_H_
#include <memory>
#include <unordered_set>
#include <vector>
#include "content/browser/gpu/gpu_data_manager_impl.h" // nogncheck

View file

@ -4,7 +4,6 @@
#include "shell/browser/api/save_page_handler.h"
#include <string>
#include <utility>
#include "base/callback.h"

View file

@ -5,8 +5,6 @@
#ifndef SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_
#define SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_
#include <string>
#include "components/download/public/common/download_item.h"
#include "content/public/browser/download_manager.h"
#include "content/public/browser/save_page_type.h"