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

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

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "net/proxy/proxy_resolver.h" 10 #include "net/proxy/proxy_resolver.h"
(...skipping 29 matching lines...) Expand all
40 40
41 virtual ~ProxyResolverV8(); 41 virtual ~ProxyResolverV8();
42 42
43 // ProxyResolver implementation: 43 // ProxyResolver implementation:
44 virtual int GetProxyForURL(const GURL& url, 44 virtual int GetProxyForURL(const GURL& url,
45 ProxyInfo* results, 45 ProxyInfo* results,
46 CompletionCallback* /*callback*/, 46 CompletionCallback* /*callback*/,
47 RequestHandle* /*request*/, 47 RequestHandle* /*request*/,
48 const BoundNetLog& net_log); 48 const BoundNetLog& net_log);
49 virtual void CancelRequest(RequestHandle request); 49 virtual void CancelRequest(RequestHandle request);
50 virtual void CancelSetPacScript();
50 virtual void PurgeMemory(); 51 virtual void PurgeMemory();
51 virtual void Shutdown(); 52 virtual void Shutdown();
52 virtual int SetPacScript( 53 virtual int SetPacScript(
53 const scoped_refptr<ProxyResolverScriptData>& script_data, 54 const scoped_refptr<ProxyResolverScriptData>& script_data,
54 CompletionCallback* /*callback*/); 55 CompletionCallback* /*callback*/);
55 56
56 ProxyResolverJSBindings* js_bindings() const { return js_bindings_.get(); } 57 ProxyResolverJSBindings* js_bindings() const { return js_bindings_.get(); }
57 58
58 private: 59 private:
59 // Context holds the Javascript state for the most recently loaded PAC 60 // Context holds the Javascript state for the most recently loaded PAC
60 // script. It corresponds with the data from the last call to 61 // script. It corresponds with the data from the last call to
61 // SetPacScript(). 62 // SetPacScript().
62 class Context; 63 class Context;
63 scoped_ptr<Context> context_; 64 scoped_ptr<Context> context_;
64 65
65 scoped_ptr<ProxyResolverJSBindings> js_bindings_; 66 scoped_ptr<ProxyResolverJSBindings> js_bindings_;
66 67
67 DISALLOW_COPY_AND_ASSIGN(ProxyResolverV8); 68 DISALLOW_COPY_AND_ASSIGN(ProxyResolverV8);
68 }; 69 };
69 70
70 } // namespace net 71 } // namespace net
71 72
72 #endif // NET_PROXY_PROXY_RESOLVER_V8_H_ 73 #endif // NET_PROXY_PROXY_RESOLVER_V8_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698