blob: df477fd1083df90bbb61f2ab6e6b311e096a65d5 [file] [log] [blame]
// Copyright 2018 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/android/explore_sites/explore_sites_types.h"
namespace explore_sites {
ExploreSitesSite::ExploreSitesSite(int site_id,
int category_id,
GURL url,
std::string title)
: site_id(site_id), category_id(category_id), url(url), title(title) {}
ExploreSitesSite::ExploreSitesSite(ExploreSitesSite&& other) = default;
ExploreSitesSite::~ExploreSitesSite() = default;
ExploreSitesCategory::ExploreSitesCategory(int category_id,
int version,
int category_type,
std::string label)
: category_id(category_id),
version(version),
category_type(category_type),
label(label) {}
ExploreSitesCategory::ExploreSitesCategory(ExploreSitesCategory&& other) =
default;
ExploreSitesCategory::~ExploreSitesCategory() = default;
} // namespace explore_sites