Commit 76946261 authored by Eric Willigers's avatar Eric Willigers Committed by Commit Bot

WebApps: Forward declare Profile class

web_app_file_handler_registration.h now uses a forward declaration
for Profile instead of including a header.

Change-Id: I7f0175ec47d16f015538ac2981c0e6e89242eeb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2114310
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Alan Cutter <alancutter@chromium.org>
Reviewed-by: default avatarAlan Cutter <alancutter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#752355}
parent 3979e4cb
...@@ -8,11 +8,13 @@ ...@@ -8,11 +8,13 @@
#include <string> #include <string>
#include "base/callback.h" #include "base/callback.h"
#include "base/files/file_path.h"
#include "build/build_config.h" #include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications/components/web_app_id.h" #include "chrome/browser/web_applications/components/web_app_id.h"
#include "components/services/app_service/public/cpp/file_handler.h" #include "components/services/app_service/public/cpp/file_handler.h"
class Profile;
namespace web_app { namespace web_app {
// True if file handlers are managed externally by the operating system, and // True if file handlers are managed externally by the operating system, and
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#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/no_destructor.h" #include "base/no_destructor.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/shell_integration_linux.h" #include "chrome/browser/shell_integration_linux.h"
#include "chrome/browser/web_applications/components/app_registrar.h" #include "chrome/browser/web_applications/components/app_registrar.h"
#include "chrome/browser/web_applications/components/app_shortcut_manager.h" #include "chrome/browser/web_applications/components/app_shortcut_manager.h"
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "base/test/test_reg_util_win.h" #include "base/test/test_reg_util_win.h"
#include "base/test/test_timeouts.h" #include "base/test/test_timeouts.h"
#include "base/win/windows_version.h" #include "base/win/windows_version.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_attributes_storage.h" #include "chrome/browser/profiles/profile_attributes_storage.h"
#include "chrome/browser/profiles/profile_manager.h" #include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/web_applications/chrome_pwa_launcher/chrome_pwa_launcher_util.h" #include "chrome/browser/web_applications/chrome_pwa_launcher/chrome_pwa_launcher_util.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