| Index: chrome/browser/installable/installable_property.cc
|
| diff --git a/chrome/browser/installable/installable_property.cc b/chrome/browser/installable/installable_property.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..def084febfe933292648571d32f1f654cc23cf46
|
| --- /dev/null
|
| +++ b/chrome/browser/installable/installable_property.cc
|
| @@ -0,0 +1,39 @@
|
| +// Copyright 2016 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_property.h"
|
| +
|
| +#include "chrome/browser/installable/installable_logging.h"
|
| +#include "content/public/common/manifest.h"
|
| +#include "third_party/skia/include/core/SkBitmap.h"
|
| +#include "url/gurl.h"
|
| +
|
| +ManifestProperty::ManifestProperty()
|
| + : error(NO_ERROR_DETECTED), url(), manifest(), fetched(false) { }
|
| +
|
| +void ManifestProperty::Reset() {
|
| + error = NO_ERROR_DETECTED;
|
| + url = GURL();
|
| + manifest = content::Manifest();
|
| + fetched = false;
|
| +}
|
| +
|
| +BooleanProperty::BooleanProperty()
|
| + : error(NO_ERROR_DETECTED), value(false), fetched(false) { }
|
| +
|
| +void BooleanProperty::Reset() {
|
| + error = NO_ERROR_DETECTED;
|
| + value = false;
|
| + fetched = false;
|
| +}
|
| +
|
| +IconProperty::IconProperty()
|
| + : error(NO_ERROR_DETECTED), url(), icon(nullptr), fetched(false) { }
|
| +
|
| +IconProperty::IconProperty(IconProperty&& other) = default;
|
| +
|
| +IconProperty::~IconProperty() = default;
|
| +
|
| +IconProperty& IconProperty::operator=(IconProperty&& other) =
|
| + default;
|
|
|