Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Unified Diff: content/child/service_worker/web_service_worker_registration_impl.h

Issue 2564363002: ServiceWorker: Replace RegistrationCallback and GetRegistrationsCallback with CallbackPromiseAdapter (Closed)
Patch Set: base::MakeUnique Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/service_worker/web_service_worker_registration_impl.h
diff --git a/content/child/service_worker/web_service_worker_registration_impl.h b/content/child/service_worker/web_service_worker_registration_impl.h
index 46144444da79d7e0309ff9e7ab6a488b10ec8d4c..9dece685879c4147f54183b458362a2b5e936933 100644
--- a/content/child/service_worker/web_service_worker_registration_impl.h
+++ b/content/child/service_worker/web_service_worker_registration_impl.h
@@ -78,13 +78,6 @@ class CONTENT_EXPORT WebServiceWorkerRegistrationImpl
static std::unique_ptr<WebServiceWorkerRegistrationHandle> CreateHandle(
const scoped_refptr<WebServiceWorkerRegistrationImpl>& registration);
- // Same with CreateHandle(), but returns a raw pointer to the handle w/ its
- // ownership instead. The caller must manage the ownership. This function must
- // be used only for passing the handle to Blink API that does not support
- // blink::WebPassOwnPtr.
- static WebServiceWorkerRegistrationHandle* CreateLeakyHandle(
- const scoped_refptr<WebServiceWorkerRegistrationImpl>& registration);
-
private:
friend class base::RefCounted<WebServiceWorkerRegistrationImpl>;
~WebServiceWorkerRegistrationImpl() override;

Powered by Google App Engine
This is Rietveld 408576698