#include "components/webapps/browser/installable/fake_installable_manager.h"
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/task/single_thread_task_runner.h"
#include "components/webapps/browser/installable/installable_data.h"
#include "third_party/blink/public/common/manifest/manifest_util.h"
#include "third_party/blink/public/mojom/manifest/manifest.mojom.h"
namespace webapps {
FakeInstallableManager::FakeInstallableManager(
content::WebContents* web_contents)
: … { … }
FakeInstallableManager::~FakeInstallableManager() { … }
void FakeInstallableManager::GetData(const InstallableParams& params,
InstallableCallback callback) { … }
void FakeInstallableManager::RunCallback(InstallableCallback callback) { … }
FakeInstallableManager* FakeInstallableManager::CreateForWebContents(
content::WebContents* web_contents) { … }
FakeInstallableManager*
FakeInstallableManager::CreateForWebContentsWithManifest(
content::WebContents* web_contents,
InstallableStatusCode installable_code,
const GURL& manifest_url,
blink::mojom::ManifestPtr manifest) { … }
}