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

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

Issue 2817043: Reduce the copying of string data between C++ and javascript in proxy_resolver_v8.cc. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix comment typo 'converts' Created 10 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 | « net/http/http_network_transaction_unittest.cc ('k') | net/proxy/init_proxy_resolver.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_INIT_PROXY_RESOLVER_H_ 5 #ifndef NET_PROXY_INIT_PROXY_RESOLVER_H_
6 #define NET_PROXY_INIT_PROXY_RESOLVER_H_ 6 #define NET_PROXY_INIT_PROXY_RESOLVER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 ProxyResolver* resolver_; 91 ProxyResolver* resolver_;
92 ProxyScriptFetcher* proxy_script_fetcher_; 92 ProxyScriptFetcher* proxy_script_fetcher_;
93 93
94 CompletionCallbackImpl<InitProxyResolver> io_callback_; 94 CompletionCallbackImpl<InitProxyResolver> io_callback_;
95 CompletionCallback* user_callback_; 95 CompletionCallback* user_callback_;
96 96
97 size_t current_pac_url_index_; 97 size_t current_pac_url_index_;
98 98
99 // Filled when the PAC script fetch completes. 99 // Filled when the PAC script fetch completes.
100 std::string pac_bytes_; 100 string16 pac_script_;
101 101
102 UrlList pac_urls_; 102 UrlList pac_urls_;
103 State next_state_; 103 State next_state_;
104 104
105 BoundNetLog net_log_; 105 BoundNetLog net_log_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(InitProxyResolver); 107 DISALLOW_COPY_AND_ASSIGN(InitProxyResolver);
108 }; 108 };
109 109
110 } // namespace net 110 } // namespace net
111 111
112 #endif // NET_PROXY_INIT_PROXY_RESOLVER_H_ 112 #endif // NET_PROXY_INIT_PROXY_RESOLVER_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/proxy/init_proxy_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698