#include "components/webapps/browser/test/service_worker_registration_waiter.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/service_worker_context.h"
#include "content/public/browser/storage_partition.h"
namespace web_app {
ServiceWorkerRegistrationWaiter::ServiceWorkerRegistrationWaiter(
content::BrowserContext* browser_context,
const GURL& url)
: … { … }
ServiceWorkerRegistrationWaiter::ServiceWorkerRegistrationWaiter(
content::StoragePartition* storage_partition,
const GURL& url)
: … { … }
ServiceWorkerRegistrationWaiter::~ServiceWorkerRegistrationWaiter() { … }
void ServiceWorkerRegistrationWaiter::AwaitRegistration(
const base::Location& location) { … }
void ServiceWorkerRegistrationWaiter::AwaitRegistrationStored(
const base::Location& location) { … }
void ServiceWorkerRegistrationWaiter::OnRegistrationCompleted(
const GURL& pattern) { … }
void ServiceWorkerRegistrationWaiter::OnRegistrationStored(
int64_t registration_id,
const GURL& scope) { … }
void ServiceWorkerRegistrationWaiter::OnDestruct(
content::ServiceWorkerContext* context) { … }
}