| Index: chrome/browser/io_thread.h
|
| diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
|
| index 4b1b9ef692d74679fc45d90fc4f3c4b0c8d9760e..4408a509db9cde39bdb2de68482e7a2a2a0b07c1 100644
|
| --- a/chrome/browser/io_thread.h
|
| +++ b/chrome/browser/io_thread.h
|
| @@ -187,6 +187,11 @@ class IOThread : public content::BrowserThreadDelegate {
|
| // Can only be called on the IO thread.
|
| Globals* globals();
|
|
|
| + // Allows overriding Globals in tests where IOThread::Init() and
|
| + // IOThread::CleanUp() are not called. This allows for injecting mocks into
|
| + // IOThread global objects.
|
| + void SetGlobalsForTesting(Globals* globals);
|
| +
|
| ChromeNetLog* net_log();
|
|
|
| // Handles changing to On The Record mode, discarding confidential data.
|
|
|