OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 kFetchRequestModeNavigate | 114 kFetchRequestModeNavigate |
115 }; | 115 }; |
116 | 116 |
117 enum FetchCredentialsMode { | 117 enum FetchCredentialsMode { |
118 kFetchCredentialsModeOmit, | 118 kFetchCredentialsModeOmit, |
119 kFetchCredentialsModeSameOrigin, | 119 kFetchCredentialsModeSameOrigin, |
120 kFetchCredentialsModeInclude, | 120 kFetchCredentialsModeInclude, |
121 kFetchCredentialsModePassword | 121 kFetchCredentialsModePassword |
122 }; | 122 }; |
123 | 123 |
| 124 enum FetchRequestCacheMode { |
| 125 kFetchRequestCacheModeDefault, |
| 126 kFetchRequestCacheModeNoStore, |
| 127 kFetchRequestCacheModeReload, |
| 128 kFetchRequestCacheModeNoCache, |
| 129 kFetchRequestCacheModeForceCache, |
| 130 kFetchRequestCacheModeOnlyIfCached |
| 131 }; |
| 132 |
124 enum FetchRedirectMode { | 133 enum FetchRedirectMode { |
125 kFetchRedirectModeFollow, | 134 kFetchRedirectModeFollow, |
126 kFetchRedirectModeError, | 135 kFetchRedirectModeError, |
127 kFetchRedirectModeManual | 136 kFetchRedirectModeManual |
128 }; | 137 }; |
129 | 138 |
130 // Used to report performance metrics timed from the UI action that | 139 // Used to report performance metrics timed from the UI action that |
131 // triggered them (as opposed to navigation start time used in the | 140 // triggered them (as opposed to navigation start time used in the |
132 // Navigation Timing API). | 141 // Navigation Timing API). |
133 enum InputToLoadPerfMetricReportPolicy { | 142 enum InputToLoadPerfMetricReportPolicy { |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // instance it contains. | 374 // instance it contains. |
366 std::unique_ptr<ResourceRequestContainer> owned_resource_request_; | 375 std::unique_ptr<ResourceRequestContainer> owned_resource_request_; |
367 | 376 |
368 // Should never be null. | 377 // Should never be null. |
369 ResourceRequest* resource_request_; | 378 ResourceRequest* resource_request_; |
370 }; | 379 }; |
371 | 380 |
372 } // namespace blink | 381 } // namespace blink |
373 | 382 |
374 #endif | 383 #endif |
OLD | NEW |