#include "chrome/browser/cart/discount_url_loader.h"
#include "chrome/browser/cart/cart_service_factory.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_list.h"
DiscountURLLoader::DiscountURLLoader(Browser* browser, Profile* profile) { … }
DiscountURLLoader::~DiscountURLLoader() = default;
void DiscountURLLoader::ShutDown() { … }
void DiscountURLLoader::PrepareURLForDiscountLoad(const GURL& url) { … }
void DiscountURLLoader::TabChangedAt(content::WebContents* contents,
int index,
TabChangeType change_type) { … }
void DiscountURLLoader::OnBrowserAdded(Browser* browser) { … }
void DiscountURLLoader::OnBrowserRemoved(Browser* browser) { … }
void DiscountURLLoader::NavigateToDiscountURL(
base::WeakPtr<content::WebContents> contents,
const GURL& discount_url) { … }