| Index: Source/core/platform/network/ResourceHandleTypes.h
|
| diff --git a/Source/core/platform/network/ResourceHandleTypes.h b/Source/core/platform/network/ResourceHandleTypes.h
|
| index 870e7957d48fc53b3ab588022b4dcee00cff7873..4dde871d7caa608f5fe6d22a4841cea0a918e6b2 100644
|
| --- a/Source/core/platform/network/ResourceHandleTypes.h
|
| +++ b/Source/core/platform/network/ResourceHandleTypes.h
|
| @@ -33,6 +33,15 @@ enum StoredCredentials {
|
| DoNotAllowStoredCredentials
|
| };
|
|
|
| +// APIs like XMLHttpRequest and EventSource let the user decide
|
| +// whether to send credentials, but they're always sent for
|
| +// same-origin requests. Additional information is needed to handle
|
| +// cross-origin redirects correctly.
|
| +enum CredentialRequest {
|
| + ClientRequestedCredentials,
|
| + ClientDidNotRequestCredentials
|
| +};
|
| +
|
| } // namespace WebCore
|
|
|
| #endif // ResourceHandleTypes_h
|
|
|