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

Unified Diff: content/browser/loader/navigation_url_loader_impl_core.h

Issue 2181553003: Stop passing const-reference of SWRegistration in all GetRegistrationsCallbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ServiceWorkerContextCore::DidFindRegistrationForCheckHasServiceWorker() Created 4 years, 5 months 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/browser/loader/navigation_url_loader_impl_core.h
diff --git a/content/browser/loader/navigation_url_loader_impl_core.h b/content/browser/loader/navigation_url_loader_impl_core.h
index 1a7a152c1dd7faa7b00f5a54763c7be813e7cbf5..495a0ef8693c516b36e472ff084f35f38002e59f 100644
--- a/content/browser/loader/navigation_url_loader_impl_core.h
+++ b/content/browser/loader/navigation_url_loader_impl_core.h
@@ -74,7 +74,7 @@ class NavigationURLLoaderImplCore {
// registered for it.
void OnServiceWorkerChecksPerformed(
ServiceWorkerStatusCode status,
- const scoped_refptr<ServiceWorkerRegistration>& registration);
+ scoped_refptr<ServiceWorkerRegistration> registration);
base::WeakPtr<NavigationURLLoaderImpl> loader_;
NavigationResourceHandler* resource_handler_;
« no previous file with comments | « content/browser/devtools/protocol/service_worker_handler.cc ('k') | content/browser/loader/navigation_url_loader_impl_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698