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

Unified Diff: chrome/browser/io_thread.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
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | net/net.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index ec09bd887bae4766021b95e8e1e5391999dbe5fc..699d347e5cb0f4187c474eb86d35b7825a823059 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -64,6 +64,10 @@ namespace policy {
class PolicyService;
} // namespace policy
+namespace v8 {
+class Isolate;
+} // namespace v8
+
// Contains state associated with, initialized and cleaned up on, and
// primarily used on, the IO thread.
//
@@ -165,6 +169,8 @@ class IOThread : public content::BrowserThreadDelegate {
// main frame load fails with a DNS error in order to provide more useful
// information to the renderer so it can show a more specific error page.
scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;
+ // The v8 default Isolate for the main thread.
jochen (gone - plz use gerrit) 2013/01/18 13:29:07 the comment is a bit misleading, since we'll use i
Sven Panne 2013/01/18 14:27:33 OK, it is v8's default Isolate, retrieved *from* t
+ v8::Isolate* v8_default_isolate;
};
// |net_log| must either outlive the IOThread or be NULL.
@@ -300,6 +306,8 @@ class IOThread : public content::BrowserThreadDelegate {
base::WeakPtrFactory<IOThread> weak_factory_;
+ v8::Isolate* v8_default_isolate_;
+
DISALLOW_COPY_AND_ASSIGN(IOThread);
};
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | net/net.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698