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

Side by Side Diff: net/proxy/proxy_resolver_v8.cc

Issue 10874077: net: Add a new target 'net_with_v8'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fuck win - I hate you Created 8 years, 3 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 | « net/net.gyp ('k') | net/proxy/proxy_service.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/proxy/proxy_resolver_v8.h"
6
5 #include <algorithm> 7 #include <algorithm>
6 #include <cstdio> 8 #include <cstdio>
7 9
8 #include "net/proxy/proxy_resolver_v8.h"
9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/string_tokenizer.h" 13 #include "base/string_tokenizer.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "googleurl/src/url_canon.h" 18 #include "googleurl/src/url_canon.h"
19 #include "net/base/host_cache.h" 19 #include "net/base/host_cache.h"
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 795
796 // Try parsing the PAC script. 796 // Try parsing the PAC script.
797 scoped_ptr<Context> context(new Context(js_bindings_.get())); 797 scoped_ptr<Context> context(new Context(js_bindings_.get()));
798 int rv = context->InitV8(script_data); 798 int rv = context->InitV8(script_data);
799 if (rv == OK) 799 if (rv == OK)
800 context_.reset(context.release()); 800 context_.reset(context.release());
801 return rv; 801 return rv;
802 } 802 }
803 803
804 } // namespace net 804 } // namespace net
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/proxy/proxy_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698