| Index: content/browser/service_worker/service_worker_context_wrapper.h
|
| diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
|
| index 4eb6771dd3ef33da99b24890611f2981b82fc05e..c4ca14ce1d13a9d11a995ff6c3dfc3c58729ef32 100644
|
| --- a/content/browser/service_worker/service_worker_context_wrapper.h
|
| +++ b/content/browser/service_worker/service_worker_context_wrapper.h
|
| @@ -45,6 +45,7 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| : NON_EXPORTED_BASE(public ServiceWorkerContext),
|
| public base::RefCountedThreadSafe<ServiceWorkerContextWrapper> {
|
| public:
|
| + typedef base::Callback<void(ServiceWorkerStatusCode)> StatusCallback;
|
| ServiceWorkerContextWrapper(BrowserContext* browser_context);
|
|
|
| // Init and Shutdown are for use on the UI thread when the profile,
|
| @@ -95,6 +96,7 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| virtual void DeleteForOrigin(const GURL& origin_url,
|
| const ResultCallback& done);
|
|
|
| + void StartServiceWorker(const GURL& pattern, const StatusCallback& callback);
|
| void AddObserver(ServiceWorkerContextObserver* observer);
|
| void RemoveObserver(ServiceWorkerContextObserver* observer);
|
|
|
|
|