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

Side by Side Diff: Source/platform/network/ProxyServer.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/platform/network/ParsedContentType.cpp ('k') | Source/platform/network/ProxyServer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * THE POSSIBILITY OF SUCH DAMAGE. 23 * THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef ProxyServer_h 26 #ifndef ProxyServer_h
27 #define ProxyServer_h 27 #define ProxyServer_h
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "wtf/Vector.h" 30 #include "wtf/Vector.h"
31 #include "wtf/text/WTFString.h" 31 #include "wtf/text/WTFString.h"
32 32
33 namespace WebCore { 33 namespace blink {
34 34
35 class KURL; 35 class KURL;
36 class NetworkingContext; 36 class NetworkingContext;
37 37
38 // Represents a single proxy server. 38 // Represents a single proxy server.
39 class PLATFORM_EXPORT ProxyServer { 39 class PLATFORM_EXPORT ProxyServer {
40 public: 40 public:
41 enum Type { 41 enum Type {
42 Direct, 42 Direct,
43 HTTP, 43 HTTP,
(...skipping 24 matching lines...) Expand all
68 int m_port; 68 int m_port;
69 }; 69 };
70 70
71 // Return a vector of proxy servers for the given URL. 71 // Return a vector of proxy servers for the given URL.
72 PLATFORM_EXPORT Vector<ProxyServer> proxyServersForURL(const KURL&, const Networ kingContext*); 72 PLATFORM_EXPORT Vector<ProxyServer> proxyServersForURL(const KURL&, const Networ kingContext*);
73 73
74 // Converts the given vector of proxy servers to a PAC string, as described in 74 // Converts the given vector of proxy servers to a PAC string, as described in
75 // http://web.archive.org/web/20060424005037/wp.netscape.com/eng/mozilla/2.0/rel notes/demo/proxy-live.html 75 // http://web.archive.org/web/20060424005037/wp.netscape.com/eng/mozilla/2.0/rel notes/demo/proxy-live.html
76 PLATFORM_EXPORT String toString(const Vector<ProxyServer>&); 76 PLATFORM_EXPORT String toString(const Vector<ProxyServer>&);
77 77
78 } // namespace WebCore 78 } // namespace blink
79 79
80 #endif // ProxyServer_h 80 #endif // ProxyServer_h
OLDNEW
« no previous file with comments | « Source/platform/network/ParsedContentType.cpp ('k') | Source/platform/network/ProxyServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698