#include "chrome/browser/commerce/shopping_service_factory.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/commerce/product_specifications/product_specifications_service_factory.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/optimization_guide/optimization_guide_keyed_service.h"
#include "chrome/browser/optimization_guide/optimization_guide_keyed_service_factory.h"
#include "chrome/browser/persisted_state_db/session_proto_db_factory.h"
#include "chrome/browser/power_bookmarks/power_bookmark_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "components/commerce/content/browser/commerce_tab_helper.h"
#include "components/commerce/content/browser/web_extractor_impl.h"
#include "components/commerce/core/commerce_feature_list.h"
#include "components/commerce/core/product_specifications/product_specifications_service.h"
#include "components/commerce/core/proto/commerce_subscription_db_content.pb.h"
#include "components/commerce/core/proto/parcel_tracking_db_content.pb.h"
#include "components/commerce/core/shopping_service.h"
#include "components/prefs/pref_service.h"
#include "components/variations/service/variations_service_utils.h"
#include "content/public/browser/storage_partition.h"
#if !BUILDFLAG(IS_ANDROID)
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "components/commerce/core/proto/discounts_db_content.pb.h"
#endif
namespace commerce {
ShoppingServiceFactory* ShoppingServiceFactory::GetInstance() { … }
ShoppingService* ShoppingServiceFactory::GetForBrowserContext(
content::BrowserContext* context) { … }
ShoppingService* ShoppingServiceFactory::GetForBrowserContextIfExists(
content::BrowserContext* context) { … }
ShoppingServiceFactory::ShoppingServiceFactory()
: … { … }
std::unique_ptr<KeyedService>
ShoppingServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
bool ShoppingServiceFactory::ServiceIsCreatedWithBrowserContext() const { … }
bool ShoppingServiceFactory::ServiceIsNULLWhileTesting() const { … }
}