| Index: chrome/browser/io_thread.h
|
| diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
|
| index eed9d17faa94604999bf0f2d7ed4061e4af949ed..c31dff38010799eae26dc36aa44a0b427af3b069 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.
|
|
|