Chromecast Android buildfix: rework CommandLine initialization logic.
[chromium-blink-merge.git] / net / http / http_auth_filter_win.h
blobd2c0af4a09dc8463646af1907d00428c37629667
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.
5 #ifndef NET_HTTP_HTTP_AUTH_FILTER_WIN_H_
6 #define NET_HTTP_HTTP_AUTH_FILTER_WIN_H_
8 #include "build/build_config.h"
10 #if defined(OS_WIN)
11 #include "base/strings/string16.h"
13 namespace net {
15 enum RegistryHiveType {
16 CURRENT_USER,
17 LOCAL_MACHINE
20 namespace http_auth {
22 // The common path to all the registry keys containing domain zone information.
23 extern const base::char16 kRegistryInternetSettings[];
24 extern const base::char16 kSettingsMachineOnly[];
25 extern const base::char16* kRegistryEntries[3]; // L"http", L"https", and L"*"
27 extern const base::char16* GetRegistryWhitelistKey();
28 // Override the whitelist key. Passing in NULL restores the default value.
29 extern void SetRegistryWhitelistKey(const base::char16* new_whitelist_key);
30 extern bool UseOnlyMachineSettings();
32 } // namespace http_auth
34 } // namespace net
35 #endif // OS_WIN
37 #endif // NET_HTTP_HTTP_AUTH_FILTER_WIN_H_