Commit 0c01aedd authored by Sorin Jianu's avatar Sorin Jianu Committed by Commit Bot

Fix scoped_refptr vs. ref_counted.h includes.

ref_counted.h is only needed for defining or instantiating
ref counted classes.

Change-Id: I9250c12fbd8362aa66861c7cde7fa5a257da3ada
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2094623
Commit-Queue: Sorin Jianu <sorin@chromium.org>
Reviewed-by: default avatarJoshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#748676}
parent f12d8791
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#ifndef CHROME_UPDATER_ACTION_HANDLER_H_ #ifndef CHROME_UPDATER_ACTION_HANDLER_H_
#define CHROME_UPDATER_ACTION_HANDLER_H_ #define CHROME_UPDATER_ACTION_HANDLER_H_
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
#include "build/build_config.h" #include "build/build_config.h"
namespace update_client { namespace update_client {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#ifndef CHROME_UPDATER_APP_APP_UNINSTALL_H_ #ifndef CHROME_UPDATER_APP_APP_UNINSTALL_H_
#define CHROME_UPDATER_APP_APP_UNINSTALL_H_ #define CHROME_UPDATER_APP_APP_UNINSTALL_H_
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
namespace updater { namespace updater {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#ifndef CHROME_UPDATER_APP_APP_UPDATE_ALL_H_ #ifndef CHROME_UPDATER_APP_APP_UPDATE_ALL_H_
#define CHROME_UPDATER_APP_APP_UPDATE_ALL_H_ #define CHROME_UPDATER_APP_APP_UPDATE_ALL_H_
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
namespace updater { namespace updater {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <vector> #include <vector>
#include "base/containers/flat_map.h" #include "base/containers/flat_map.h"
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
#include "components/update_client/configurator.h" #include "components/update_client/configurator.h"
class GURL; class GURL;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "base/callback_forward.h" #include "base/callback_forward.h"
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
#include "base/sequence_checker.h" #include "base/sequence_checker.h"
#include "base/values.h" #include "base/values.h"
#include "base/version.h" #include "base/version.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include "base/callback.h" #include "base/callback.h"
#include "base/containers/flat_map.h" #include "base/containers/flat_map.h"
#include "base/memory/ref_counted.h"
#include "base/threading/thread_checker.h" #include "base/threading/thread_checker.h"
#include "components/update_client/network.h" #include "components/update_client/network.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/files/file_util.h" #include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h" #include "base/files/scoped_temp_dir.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h" #include "base/run_loop.h"
#include "base/test/task_environment.h" #include "base/test/task_environment.h"
#include "net/test/embedded_test_server/embedded_test_server.h" #include "net/test/embedded_test_server/embedded_test_server.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <memory> #include <memory>
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
#include "components/update_client/patcher.h" #include "components/update_client/patcher.h"
namespace updater { namespace updater {
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include "base/memory/scoped_refptr.h"
#include "base/stl_util.h" #include "base/stl_util.h"
#include "base/version.h" #include "base/version.h"
#include "chrome/updater/persisted_data.h" #include "chrome/updater/persisted_data.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include "chrome/updater/prefs.h" #include "chrome/updater/prefs.h"
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/memory/scoped_refptr.h" #include "base/memory/ref_counted.h"
#include "chrome/updater/util.h" #include "chrome/updater/util.h"
#include "components/prefs/json_pref_store.h" #include "components/prefs/json_pref_store.h"
#include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_registry_simple.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#ifndef CHROME_UPDATER_SERVER_MAC_SERVER_H_ #ifndef CHROME_UPDATER_SERVER_MAC_SERVER_H_
#define CHROME_UPDATER_SERVER_MAC_SERVER_H_ #define CHROME_UPDATER_SERVER_MAC_SERVER_H_
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
namespace updater { namespace updater {
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <wrl/module.h> #include <wrl/module.h>
#include "base/logging.h" #include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/stl_util.h" #include "base/stl_util.h"
#include "base/win/scoped_com_initializer.h" #include "base/win/scoped_com_initializer.h"
#include "chrome/updater/app/app.h" #include "chrome/updater/app/app.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <wrl/implements.h> #include <wrl/implements.h>
#include <wrl/module.h> #include <wrl/module.h>
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
#include "base/strings/string16.h" #include "base/strings/string16.h"
#include "chrome/updater/server/win/updater_idl.h" #include "chrome/updater/server/win/updater_idl.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <memory> #include <memory>
#include "base/memory/ref_counted.h"
#include "components/update_client/unzipper.h" #include "components/update_client/unzipper.h"
namespace updater { namespace updater {
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#include "chrome/updater/update_apps.h" #include "chrome/updater/update_apps.h"
#include "base/memory/scoped_refptr.h"
#include "chrome/updater/configurator.h" #include "chrome/updater/configurator.h"
#include "chrome/updater/update_service_in_process.h" #include "chrome/updater/update_service_in_process.h"
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <vector> #include <vector>
#include "base/bind.h" #include "base/bind.h"
#include "base/memory/scoped_refptr.h"
#include "base/run_loop.h" #include "base/run_loop.h"
#include "base/sequenced_task_runner.h" #include "base/sequenced_task_runner.h"
#include "base/task/post_task.h" #include "base/task/post_task.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <vector> #include <vector>
#include "base/callback_forward.h" #include "base/callback_forward.h"
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
#include "base/sequence_checker.h" #include "base/sequence_checker.h"
#include "chrome/updater/update_service.h" #include "chrome/updater/update_service.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include "base/i18n/icu_util.h" #include "base/i18n/icu_util.h"
#include "base/logging.h" #include "base/logging.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/memory/scoped_refptr.h"
#include "base/message_loop/message_pump_type.h" #include "base/message_loop/message_pump_type.h"
#include "base/run_loop.h" #include "base/run_loop.h"
#include "base/sequence_checker.h" #include "base/sequence_checker.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <string> #include <string>
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
namespace updater { namespace updater {
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <memory> #include <memory>
#include "base/memory/ref_counted.h"
#include "base/threading/thread_checker.h" #include "base/threading/thread_checker.h"
#include "chrome/updater/win/net/scoped_hinternet.h" #include "chrome/updater/win/net/scoped_hinternet.h"
#include "components/update_client/network.h" #include "components/update_client/network.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "base/callback.h" #include "base/callback.h"
#include "base/containers/flat_map.h" #include "base/containers/flat_map.h"
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
#include "base/threading/thread_checker.h" #include "base/threading/thread_checker.h"
#include "components/update_client/network.h" #include "components/update_client/network.h"
#include "url/gurl.h" #include "url/gurl.h"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "base/callback.h" #include "base/callback.h"
#include "base/files/file.h" #include "base/files/file.h"
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/memory/ref_counted.h" #include "base/memory/scoped_refptr.h"
#include "base/strings/string_piece_forward.h" #include "base/strings/string_piece_forward.h"
#include "base/threading/thread_checker.h" #include "base/threading/thread_checker.h"
#include "chrome/updater/win/net/scoped_hinternet.h" #include "chrome/updater/win/net/scoped_hinternet.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