1 // Copyright 2024 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef NET_STORAGE_ACCESS_API_STATUS_H_ 6 #define NET_STORAGE_ACCESS_API_STATUS_H_ 7 8 namespace net { 9 10 // Status related to the Storage Access API. 11 // Spec: https://privacycg.github.io/storage-access/ 12 enum class StorageAccessApiStatus { 13 // This context has not opted into unpartitioned cookie access via the Storage 14 // Access API. 15 kNone, 16 // This context has opted into unpartitioned cookie access via the Storage 17 // Access API. 18 kAccessViaAPI, 19 }; 20 21 } // namespace net 22 23 #endif // NET_STORAGE_ACCESS_API_STATUS_H_ 24