| Index: components/crash/content/app/crashpad.h
|
| diff --git a/components/crash/content/app/crashpad.h b/components/crash/content/app/crashpad.h
|
| index 47a30943aae9d06407478a0036c60b4f71f45a88..44cc5d043e15e8fbb3e5d9afdc7698324003e954 100644
|
| --- a/components/crash/content/app/crashpad.h
|
| +++ b/components/crash/content/app/crashpad.h
|
| @@ -61,12 +61,15 @@ void InitializeCrashpadWithEmbeddedHandler(bool initial_client,
|
| const std::string& process_type);
|
| #endif // OS_WIN
|
|
|
| -// Enables or disables crash report upload. This is a property of the Crashpad
|
| -// database. In a newly-created database, uploads will be disabled. This
|
| -// function only has an effect when called in the browser process. Its effect is
|
| -// immediate and applies to all other process types, including processes that
|
| -// are already running.
|
| -void SetUploadsEnabled(bool enabled);
|
| +// Enables or disables crash report upload, taking the given consent to upload
|
| +// into account. Consent may be ignored, uploads may not be enabled even with
|
| +// consent, but will only be enabled without consent when policy enforces crash
|
| +// reporting. Whether reports upload is a property of the Crashpad database. In
|
| +// a newly-created database, uploads will be disabled. This function only has an
|
| +// effect when called in the browser process. Its effect is immediate and
|
| +// applies to all other process types, including processes that are already
|
| +// running.
|
| +void SetUploadConsent(bool consent);
|
|
|
| // Determines whether uploads are enabled or disabled. This information is only
|
| // available in the browser process.
|
|
|