// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_DELEGATE_H_ #define EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_DELEGATE_H_ #include "base/functional/callback.h" #include "extensions/common/api/runtime.h" #include "extensions/common/extension_id.h" class GURL; namespace content { class BrowserContext; } namespace extensions { class Extension; class UpdateObserver; // This is a delegate interface for chrome.runtime API behavior. Clients must // vend some implementation of this interface through // ExtensionsBrowserClient::CreateRuntimeAPIDelegate. class RuntimeAPIDelegate { … }; } // namespace extensions #endif // EXTENSIONS_BROWSER_API_RUNTIME_RUNTIME_API_DELEGATE_H_