| // Copyright 2021 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_SERVICES_STORAGE_PUBLIC_CPP_BUCKETS_BUCKET_ID_H_ |
| #define COMPONENTS_SERVICES_STORAGE_PUBLIC_CPP_BUCKETS_BUCKET_ID_H_ |
| |
| #include "base/types/id_type.h" |
| |
| namespace storage { |
| |
| // Type for the Storage Bucket ID. |
| // IDs will always be generated by SQLite, and all valid BucketIds are positive. |
| using BucketId = base::IdType64<class BucketTag>; |
| |
| } // namespace storage |
| |
| #endif // COMPONENTS_SERVICES_STORAGE_PUBLIC_CPP_BUCKETS_BUCKET_ID_H_ |