#include "chrome/browser/chrome_browser_main_extra_parts_nacl_deprecation.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/ppapi_utils.h"
#include "chrome/common/pref_names.h"
#include "components/nacl/common/buildflags.h"
#include "components/prefs/pref_service.h"
namespace {
#if BUILDFLAG(ENABLE_NACL)
bool ShouldNaClBeAllowed() {
#if BUILDFLAG(IS_CHROMEOS)
if (g_browser_process->local_state()->GetBoolean(
prefs::kNativeClientForceAllowed)) {
return true;
}
#endif
return base::FeatureList::IsEnabled(kNaclAllow);
}
#endif
}
BASE_FEATURE(…);
void ChromeBrowserMainExtraPartsNaclDeprecation::PostEarlyInitialization() { … }