Mac: Fix compile errors due to revision 394 changes.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@395 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-11-23 23:22:01 +00:00
parent 7361732f92
commit f53b15ca11
2 changed files with 7 additions and 3 deletions

View File

@@ -37,12 +37,15 @@
#include "webkit/glue/webkit_glue.h"
#if defined(OS_WIN)
#include <winhttp.h>
#pragma comment(lib, "winhttp.lib")
#endif // defined(OS_WIN)
namespace {
#if defined(OS_WIN)
// ProxyConfigService implementation that does nothing.
class ProxyConfigServiceNull : public net::ProxyConfigService {
public:
@@ -55,6 +58,8 @@ public:
virtual void OnLazyPoll() OVERRIDE {}
};
#endif // defined(OS_WIN)
// ProxyResolver implementation that forewards resolution to a CefProxyHandler.
class CefProxyResolver : public net::ProxyResolver {
public:
@@ -118,7 +123,6 @@ net::ProxyConfigService* CreateProxyConfigService() {
} // namespace
#endif // defined(OS_WIN)
BrowserRequestContext::BrowserRequestContext()
: ALLOW_THIS_IN_INITIALIZER_LIST(storage_(this)),