1// Copyright (c) 2010 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef NET_HTTP_HTTP_AUTH_FILTER_WIN_H_ 6#define NET_HTTP_HTTP_AUTH_FILTER_WIN_H_ 7 8#include "build/build_config.h" 9 10#if defined(OS_WIN) 11#include "base/strings/string16.h" 12 13namespace net { 14 15enum RegistryHiveType { 16 CURRENT_USER, 17 LOCAL_MACHINE 18}; 19 20namespace http_auth { 21 22// The common path to all the registry keys containing domain zone information. 23extern const base::char16 kRegistryInternetSettings[]; 24extern const base::char16 kSettingsMachineOnly[]; 25extern const base::char16* kRegistryEntries[3]; // L"http", L"https", and L"*" 26 27extern const base::char16* GetRegistryWhitelistKey(); 28// Override the whitelist key. Passing in NULL restores the default value. 29extern void SetRegistryWhitelistKey(const base::char16* new_whitelist_key); 30extern bool UseOnlyMachineSettings(); 31 32} // namespace http_auth 33 34} // namespace net 35#endif // OS_WIN 36 37#endif // NET_HTTP_HTTP_AUTH_FILTER_WIN_H_ 38