Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Side by Side Diff: chrome/browser/net/service_providers_win.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/referrer.h ('k') | chrome/browser/notifications/notifications_prefs_cache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_ 5 #ifndef CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_
6 #define CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_ 6 #define CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 class Value;
12
13 struct WinsockNamespaceProvider { 11 struct WinsockNamespaceProvider {
14 std::wstring name; 12 std::wstring name;
15 int version; 13 int version;
16 bool active; 14 bool active;
17 int type; 15 int type;
18 }; 16 };
19 typedef std::vector<WinsockNamespaceProvider> WinsockNamespaceProviderList; 17 typedef std::vector<WinsockNamespaceProvider> WinsockNamespaceProviderList;
20 18
21 struct WinsockLayeredServiceProvider { 19 struct WinsockLayeredServiceProvider {
22 std::wstring name; 20 std::wstring name;
23 std::wstring path; 21 std::wstring path;
24 int version; 22 int version;
25 int chain_length; 23 int chain_length;
26 int socket_type; 24 int socket_type;
27 int socket_protocol; 25 int socket_protocol;
28 }; 26 };
29 typedef std::vector<WinsockLayeredServiceProvider> 27 typedef std::vector<WinsockLayeredServiceProvider>
30 WinsockLayeredServiceProviderList; 28 WinsockLayeredServiceProviderList;
31 29
32 // Returns all the Winsock namespace providers. 30 // Returns all the Winsock namespace providers.
33 void GetWinsockNamespaceProviders( 31 void GetWinsockNamespaceProviders(
34 WinsockNamespaceProviderList* namespace_list); 32 WinsockNamespaceProviderList* namespace_list);
35 33
36 // Returns all the Winsock layered service providers and their paths. 34 // Returns all the Winsock layered service providers and their paths.
37 void GetWinsockLayeredServiceProviders( 35 void GetWinsockLayeredServiceProviders(
38 WinsockLayeredServiceProviderList* service_list); 36 WinsockLayeredServiceProviderList* service_list);
39 37
40 #endif // CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_ 38 #endif // CHROME_BROWSER_NET_SERVICE_PROVIDERS_WIN_H_
41
OLDNEW
« no previous file with comments | « chrome/browser/net/referrer.h ('k') | chrome/browser/notifications/notifications_prefs_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698