Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: chrome/browser/installable/installable_property.cc

Issue 2160513002: Extract AppBannerDataFetcher into an InstallableManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/checker/manager; collapse valid manifest + SW into one Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698