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

Unified Diff: chrome/browser/net/connection_tester.h

Issue 11959029: Make the v8 Isolate used in the proxy resolver explicit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed component build Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/connection_tester.h
diff --git a/chrome/browser/net/connection_tester.h b/chrome/browser/net/connection_tester.h
index d25c266b691b4c7a113b122a2d38dfe3998491d5..49bf4aa8b669332bba04097de0cab47556426f9d 100644
--- a/chrome/browser/net/connection_tester.h
+++ b/chrome/browser/net/connection_tester.h
@@ -17,6 +17,10 @@ class NetLog;
class URLRequestContext;
} // namespace net
+namespace v8 {
+class Isolate;
+} // namespace v8
+
// ConnectionTester runs a suite of tests (also called "experiments"),
// to try and discover why loading a particular URL is failing with an error
// code.
@@ -130,7 +134,8 @@ class ConnectionTester {
// of ConnectionTester.
ConnectionTester(Delegate* delegate,
net::URLRequestContext* proxy_request_context,
- net::NetLog* net_log);
+ net::NetLog* net_log,
+ v8::Isolate* v8_default_isolate);
// Note that destruction cancels any in-progress tests.
~ConnectionTester();
@@ -180,6 +185,8 @@ class ConnectionTester {
net::NetLog* net_log_;
+ v8::Isolate* v8_default_isolate_;
+
DISALLOW_COPY_AND_ASSIGN(ConnectionTester);
};

Powered by Google App Engine
This is Rietveld 408576698