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

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

Issue 210028: Respect the charset specified in PAC file responses. ProxyScriptFetcher is no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: re-order parameter so output is last Created 11 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/proxy/proxy_resolver.h ('k') | net/proxy/proxy_resolver_v8.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 NET_PROXY_PROXY_RESOLVER_V8_H_ 5 #ifndef NET_PROXY_PROXY_RESOLVER_V8_H_
6 #define NET_PROXY_PROXY_RESOLVER_V8_H_ 6 #define NET_PROXY_PROXY_RESOLVER_V8_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ProxyResolverJSBindings* js_bindings() const { return js_bindings_.get(); } 55 ProxyResolverJSBindings* js_bindings() const { return js_bindings_.get(); }
56 56
57 private: 57 private:
58 // Context holds the Javascript state for the most recently loaded PAC 58 // Context holds the Javascript state for the most recently loaded PAC
59 // script. It corresponds with the data from the last call to 59 // script. It corresponds with the data from the last call to
60 // SetPacScript(). 60 // SetPacScript().
61 class Context; 61 class Context;
62 62
63 // ProxyResolver implementation: 63 // ProxyResolver implementation:
64 virtual int SetPacScript(const GURL& /*pac_url*/, 64 virtual int SetPacScript(const GURL& /*pac_url*/,
65 const std::string& bytes, 65 const std::string& bytes_utf8,
66 CompletionCallback* /*callback*/); 66 CompletionCallback* /*callback*/);
67 scoped_ptr<Context> context_; 67 scoped_ptr<Context> context_;
68 68
69 scoped_ptr<ProxyResolverJSBindings> js_bindings_; 69 scoped_ptr<ProxyResolverJSBindings> js_bindings_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(ProxyResolverV8); 71 DISALLOW_COPY_AND_ASSIGN(ProxyResolverV8);
72 }; 72 };
73 73
74 } // namespace net 74 } // namespace net
75 75
76 #endif // NET_PROXY_PROXY_RESOLVER_V8_H_ 76 #endif // NET_PROXY_PROXY_RESOLVER_V8_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver.h ('k') | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698