chromium/chrome/browser/commerce/coupons/coupon_db.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/commerce/coupons/coupon_db.h"

#include "chrome/browser/persisted_state_db/session_proto_db_factory.h"
#include "components/commerce/core/proto/coupon_db_content.pb.h"

CouponDB::CouponDB(content::BrowserContext* browser_context)
    :{}

CouponDB::~CouponDB() = default;

void CouponDB::LoadCoupon(const GURL& origin, LoadCallback callback) {}

void CouponDB::LoadAllCoupons(LoadCallback callback) {}

void CouponDB::AddCoupon(const GURL& origin,
                         const coupon_db::CouponContentProto& proto) {}

void CouponDB::DeleteCoupon(const GURL& origin) {}

void CouponDB::DeleteAllCoupons() {}

void CouponDB::OnOperationFinished(bool success) {}