Skip to content

Commit

Permalink
[Android] Explicitly specified headers for GURL
Browse files Browse the repository at this point in the history
Needed to avoid build errors like

../../brave/browser/android/preferences/brave_pref_service_bridge.cc:56:7: error: invalid use of incomplete type 'GURL'
  • Loading branch information
samartnik authored and mariospr committed Feb 5, 2021
1 parent 65ef8a5 commit c2888ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions browser/android/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ source_set("android_browser_process") {
"//components/flags_ui",
"//components/ntp_tiles",
"//components/translate/core/browser",
"//url",
]

if (brave_ads_enabled) {
Expand Down
1 change: 1 addition & 0 deletions browser/android/brave_shields_content_settings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "components/content_settings/core/browser/content_settings_utils.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "url/gurl.h"

namespace chrome {
namespace android {
Expand Down
1 change: 1 addition & 0 deletions browser/android/preferences/brave_pref_service_bridge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/prefs/pref_service.h"
#include "url/gurl.h"

#if BUILDFLAG(ENABLE_BRAVE_PERF_PREDICTOR)
#include "brave/components/brave_perf_predictor/common/pref_names.h"
Expand Down

0 comments on commit c2888ab

Please sign in to comment.