| Index: chrome/browser/io_thread.h
|
| diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
|
| index 506f96aca0b0a7a157012fd0094a1b2a326fae48..699a18f4fdf82bc47012f9710220a4af3bbcb612 100644
|
| --- a/chrome/browser/io_thread.h
|
| +++ b/chrome/browser/io_thread.h
|
| @@ -186,6 +186,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.
|
|
|