Skip to content

Commit

Permalink
fixup! Adapt to the removal of default sandbox type used for Brave Ads
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarolin committed Aug 18, 2021
1 parent 7f90b91 commit 7cff5f1
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions chromium_src/chrome/browser/service_sandbox_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@

#include "../../../../chrome/browser/service_sandbox_type.h"

#include "brave/components/brave_ads/browser/buildflags/buildflags.h"
#include "brave/components/brave_ads/browser/service_sandbox_type.h"
#include "brave/components/ipfs/buildflags/buildflags.h"

#if BUILDFLAG(ENABLE_IPFS)
#include "brave/components/ipfs/service_sandbox_type.h"
#endif

// brave::mojom::ProfileImport
namespace brave {
namespace mojom {
Expand All @@ -24,12 +28,4 @@ content::GetServiceSandboxType<brave::mojom::ProfileImport>() {
return sandbox::policy::SandboxType::kNoSandbox;
}

#if BUILDFLAG(ENABLE_IPFS)
#include "brave/components/ipfs/service_sandbox_type.h"
#endif

#if BUILDFLAG(BRAVE_ADS_ENABLED)
#include "brave/components/brave_ads/browser/service_sandbox_type.h"
#endif

#endif // BRAVE_CHROMIUM_SRC_CHROME_BROWSER_SERVICE_SANDBOX_TYPE_H_

0 comments on commit 7cff5f1

Please sign in to comment.