| Index: chrome/browser/extensions/api/image_writer_private/operation.h
|
| diff --git a/chrome/browser/extensions/api/image_writer_private/operation.h b/chrome/browser/extensions/api/image_writer_private/operation.h
|
| index b7c467034a12b0292c7db7ebc032cf4380e5eb52..1111d9f45ba90a4e3697499a37f89cb6a164404f 100644
|
| --- a/chrome/browser/extensions/api/image_writer_private/operation.h
|
| +++ b/chrome/browser/extensions/api/image_writer_private/operation.h
|
| @@ -73,8 +73,10 @@ class Operation : public base::RefCountedThreadSafe<Operation> {
|
| image_writer_api::Stage GetStage();
|
|
|
| #if !defined(OS_CHROMEOS)
|
| - // Set an ImageWriterClient to use. Should be called only when testing.
|
| - void SetUtilityClientForTesting(
|
| + // Set an ImageWriterClient to use. Should be called only when testing. This
|
| + // does not set up automatic shutdown of the client and it must be shutdown
|
| + // manually.
|
| + static void SetUtilityClientForTesting(
|
| scoped_refptr<ImageWriterUtilityClient> client);
|
| #endif
|
|
|
|
|