Chromium Code Reviews| 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); |
| }; |