mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Set enable_alloy_bootstrap=false to build with Alloy bootstrap code removed. Extension API is documented as deprecated in comments but not compiled out with this arg.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#include "libcef/common/app_manager.h"
|
||||
|
||||
#include "libcef/common/net/scheme_info.h"
|
||||
#include "libcef/common/net/scheme_registration.h"
|
||||
#include "libcef/common/scheme_registrar_impl.h"
|
||||
|
||||
#include "base/command_line.h"
|
||||
@@ -18,6 +17,10 @@
|
||||
#include "base/path_service.h"
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
#include "libcef/common/net/scheme_registration.h"
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
CefAppManager* g_manager = nullptr;
|
||||
@@ -88,7 +91,9 @@ void CefAppManager::AddAdditionalSchemes(
|
||||
schemeRegistrar.GetSchemes(schemes);
|
||||
}
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
scheme::AddInternalSchemes(schemes);
|
||||
#endif
|
||||
|
||||
scheme_info_list_locked_ = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user