blob: e7bf139108d7f7f28155e0722d6ece4850a3683b [file] [log] [blame]
// Copyright 2017 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.
#include "chrome/browser/installable/installable_data.h"
InstallableData::InstallableData(InstallableStatusCode error_code,
GURL manifest_url,
const content::Manifest* manifest,
GURL primary_icon_url,
const SkBitmap* primary_icon,
GURL badge_icon_url,
const SkBitmap* badge_icon,
bool valid_manifest,
bool has_worker)
: error_code(error_code),
manifest_url(manifest_url),
manifest(manifest),
primary_icon_url(primary_icon_url),
primary_icon(primary_icon),
badge_icon_url(badge_icon_url),
badge_icon(badge_icon),
valid_manifest(valid_manifest),
has_worker(has_worker) {}
InstallableData::~InstallableData() = default;