#include <memory>
#include <string>
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chrome_browser_main.h"
#include "chrome/browser/chrome_browser_main_extra_parts.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_service.h"
#include "content/public/test/browser_test.h"
#if BUILDFLAG(IS_WIN)
#include <windows.h>
#include "base/test/test_reg_util_win.h"
#include "base/win/registry.h"
#endif
namespace {
#if BUILDFLAG(IS_WIN)
const char kMockPolicyName[] = "AllowFileSelectionDialogs";
#endif
void VerifyLocalState() { … }
class ChromeBrowserMainExtraPartsPolicyValueChecker
: public ChromeBrowserMainExtraParts { … };
}
class PolicyInitializationBrowserTest : public InProcessBrowserTest { … };
#if BUILDFLAG(IS_WIN)
IN_PROC_BROWSER_TEST_F(PolicyInitializationBrowserTest, VerifyLocalState) {
VerifyLocalState();
}
#endif