android-webview: Remove legacy crash handler (### Version)
[chromium-blink-merge.git] / chrome / browser / net / service_providers_win.h
blob7ca1a8ca60fc9b4d8cfe15d1257340050cffc5b5
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 CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_
6 #define CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_
8 #include <vector>
10 #include "base/strings/string16.h"
12 struct WinsockNamespaceProvider {
13 base::string16 name;
14 int version;
15 bool active;
16 int type;
18 typedef std::vector<WinsockNamespaceProvider> WinsockNamespaceProviderList;
20 struct WinsockLayeredServiceProvider {
21 WinsockLayeredServiceProvider();
22 ~WinsockLayeredServiceProvider();
24 base::string16 name;
25 base::string16 path;
26 int version;
27 int chain_length;
28 int socket_type;
29 int socket_protocol;
31 typedef std::vector<WinsockLayeredServiceProvider>
32 WinsockLayeredServiceProviderList;
34 // Returns all the Winsock namespace providers.
35 void GetWinsockNamespaceProviders(WinsockNamespaceProviderList* namespace_list);
37 // Returns all the Winsock layered service providers and their paths.
38 void GetWinsockLayeredServiceProviders(
39 WinsockLayeredServiceProviderList* service_list);
41 #endif // CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_