OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/installable/installable_property.h" |
| 6 |
| 7 #include "chrome/browser/installable/installable_logging.h" |
| 8 #include "content/public/common/manifest.h" |
| 9 #include "third_party/skia/include/core/SkBitmap.h" |
| 10 #include "url/gurl.h" |
| 11 |
| 12 ManifestProperty::ManifestProperty() |
| 13 : error(NO_ERROR_DETECTED), url(), manifest(), fetched(false) { } |
| 14 |
| 15 void ManifestProperty::Reset() { |
| 16 error = NO_ERROR_DETECTED; |
| 17 url = GURL(); |
| 18 manifest = content::Manifest(); |
| 19 fetched = false; |
| 20 } |
| 21 |
| 22 BooleanProperty::BooleanProperty() |
| 23 : error(NO_ERROR_DETECTED), value(false), fetched(false) { } |
| 24 |
| 25 void BooleanProperty::Reset() { |
| 26 error = NO_ERROR_DETECTED; |
| 27 value = false; |
| 28 fetched = false; |
| 29 } |
| 30 |
| 31 IconProperty::IconProperty() |
| 32 : error(NO_ERROR_DETECTED), url(), icon(nullptr), fetched(false) { } |
| 33 |
| 34 IconProperty::IconProperty(IconProperty&& other) = default; |
| 35 |
| 36 IconProperty::~IconProperty() = default; |
| 37 |
| 38 IconProperty& IconProperty::operator=(IconProperty&& other) = |
| 39 default; |
OLD | NEW |