| // Copyright 2018 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 THIRD_PARTY_WEBKIT_COMMON_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_MOJOM_SHARED_MESSAGE_IDS_H_ |
| #define THIRD_PARTY_WEBKIT_COMMON_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_MOJOM_SHARED_MESSAGE_IDS_H_ |
| |
| #include <stdint.h> |
| namespace blink { |
| namespace mojom { |
| |
| namespace internal { |
| |
| |
| // The 368348106 value is based on sha256(salt + "ServiceWorkerRegistrationObjectHost1"). |
| constexpr uint32_t kServiceWorkerRegistrationObjectHost_Update_Name = 368348106; |
| // The 967432871 value is based on sha256(salt + "ServiceWorkerRegistrationObjectHost2"). |
| constexpr uint32_t kServiceWorkerRegistrationObjectHost_Unregister_Name = 967432871; |
| // The 683758305 value is based on sha256(salt + "ServiceWorkerRegistrationObjectHost3"). |
| constexpr uint32_t kServiceWorkerRegistrationObjectHost_EnableNavigationPreload_Name = 683758305; |
| // The 412819848 value is based on sha256(salt + "ServiceWorkerRegistrationObjectHost4"). |
| constexpr uint32_t kServiceWorkerRegistrationObjectHost_GetNavigationPreloadState_Name = 412819848; |
| // The 1015291868 value is based on sha256(salt + "ServiceWorkerRegistrationObjectHost5"). |
| constexpr uint32_t kServiceWorkerRegistrationObjectHost_SetNavigationPreloadHeader_Name = 1015291868; |
| // The 1136447134 value is based on sha256(salt + "ServiceWorkerRegistrationObject1"). |
| constexpr uint32_t kServiceWorkerRegistrationObject_SetVersionAttributes_Name = 1136447134; |
| // The 1830429697 value is based on sha256(salt + "ServiceWorkerRegistrationObject2"). |
| constexpr uint32_t kServiceWorkerRegistrationObject_UpdateFound_Name = 1830429697; |
| |
| } // namespace internal |
| } // namespace mojom |
| } // namespace blink |
| |
| #endif // THIRD_PARTY_WEBKIT_COMMON_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_MOJOM_SHARED_MESSAGE_IDS_H_ |