Commit 0ac569f7 authored by Glen Robertson's avatar Glen Robertson Committed by Chromium LUCI CQ

Remove or forward-declare unnecessary headers from profile.h

Revealed some other classes that were incorrectly missing those headers,
so fixed those too.
In prep for moving profile to a separate GN target.

Bug: 1149277
Change-Id: I2c42ecefbd5183e74b8e96c250d0d69b282388ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2632545
Auto-Submit: Glen Robertson <glenrob@chromium.org>
Commit-Queue: David Roger <droger@chromium.org>
Reviewed-by: default avatarDavid Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844478}
parent 46009070
......@@ -7,6 +7,7 @@
#include <memory>
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/scoped_refptr.h"
#include "base/memory/weak_ptr.h"
......
......@@ -5,6 +5,7 @@
#include "chrome/browser/permissions/last_tab_standing_tracker.h"
#include "chrome/browser/profiles/profile.h"
#include "url/gurl.h"
LastTabStandingTracker::LastTabStandingTracker() = default;
......
......@@ -6,8 +6,10 @@
#include <string>
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/browsing_data/chrome_browsing_data_remover_constants.h"
......
......@@ -11,16 +11,11 @@
#include <string>
#include <vector>
#include "base/files/file_path.h"
#include "base/memory/scoped_refptr.h"
#include "base/observer_list.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "content/public/browser/browser_context.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/network/public/mojom/network_context.mojom-forward.h"
#include "url/gurl.h"
#if defined(OS_ANDROID)
#include "base/android/scoped_java_ref.h"
......@@ -31,6 +26,7 @@ class ChromeZoomLevelPrefs;
#endif
class ExtensionSpecialStoragePolicy;
class GURL;
class PrefService;
class PrefStore;
class ProfileDestroyer;
......@@ -38,7 +34,9 @@ class ProfileKey;
class TestingProfile;
namespace base {
class FilePath;
class SequencedTaskRunner;
class Time;
}
namespace content {
......
......@@ -10,6 +10,7 @@
#include <windows.h>
#include "base/files/file_path.h"
#include "base/numerics/safe_conversions.h"
#include "base/win/registry.h"
#include "chrome/browser/profiles/profile.h"
......
......@@ -11,6 +11,7 @@
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/task/cancelable_task_tracker.h"
......@@ -25,7 +26,6 @@ class Browser;
namespace base {
class DictionaryValue;
class FilePath;
class ListValue;
}
......
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