// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_SIGNER_H_ #define CHROME_BROWSER_EXTENSIONS_INSTALL_SIGNER_H_ #include <memory> #include <set> #include <string> #include <vector> #include "base/functional/callback.h" #include "base/time/time.h" #include "base/values.h" #include "extensions/common/extension_id.h" namespace network { class SimpleURLLoader; class SharedURLLoaderFactory; } // namespace network namespace extensions { // This represents a list of ids signed with a private key using an algorithm // that includes some salt bytes. struct InstallSignature { … }; // Objects of this class encapsulate an operation to get a signature proving // that a set of ids are hosted in the webstore. class InstallSigner { … }; } // namespace extensions #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_SIGNER_H_