| // Copyright 2021 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef THIRD_PARTY_BLINK_RENDERER_EXTENSIONS_CHROMEOS_CHROMEOS_EXTENSIONS_H_ |
| #define THIRD_PARTY_BLINK_RENDERER_EXTENSIONS_CHROMEOS_CHROMEOS_EXTENSIONS_H_ |
| |
| #include "third_party/blink/renderer/extensions/chromeos/extensions_chromeos_export.h" |
| |
| namespace blink { |
| |
| class ServiceWorkerGlobalScope; |
| |
| class EXTENSIONS_CHROMEOS_EXPORT ChromeOSExtensions { |
| public: |
| // Should be called by clients before trying to create Frames. |
| static void Initialize(); |
| |
| // Registers Mojo interfaces with ServiceWorkerGlobalScope. |
| static void InitServiceWorkerGlobalScope(ServiceWorkerGlobalScope&); |
| }; |
| |
| } // namespace blink |
| |
| #endif // THIRD_PARTY_BLINK_RENDERER_EXTENSIONS_CHROMEOS_CHROMEOS_EXTENSIONS_H_ |