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

Unified Diff: content/browser/service_worker/service_worker_cache_storage_manager.h

Issue 513323002: Service worker fixups for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 4 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_cache_storage_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_cache_storage_manager.h
diff --git a/content/browser/service_worker/service_worker_cache_storage_manager.h b/content/browser/service_worker/service_worker_cache_storage_manager.h
index 50a4a2d8045efac42df2cea12550d5b3a3aa27e1..0a04db551155bc8c80cf3d03b15f41a8d688f70e 100644
--- a/content/browser/service_worker/service_worker_cache_storage_manager.h
+++ b/content/browser/service_worker/service_worker_cache_storage_manager.h
@@ -36,7 +36,7 @@ class CONTENT_EXPORT ServiceWorkerCacheStorageManager {
public:
static scoped_ptr<ServiceWorkerCacheStorageManager> Create(
const base::FilePath& path,
- base::SequencedTaskRunner* cache_task_runner);
+ const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner);
static scoped_ptr<ServiceWorkerCacheStorageManager> Create(
ServiceWorkerCacheStorageManager* old_manager);
@@ -78,7 +78,7 @@ class CONTENT_EXPORT ServiceWorkerCacheStorageManager {
ServiceWorkerCacheStorageManager(
const base::FilePath& path,
- base::SequencedTaskRunner* cache_task_runner);
+ const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner);
// The returned ServiceWorkerCacheStorage* is owned by
// service_worker_cache_storages_.
@@ -92,7 +92,7 @@ class CONTENT_EXPORT ServiceWorkerCacheStorageManager {
return blob_context_;
}
base::FilePath root_path() const { return root_path_; }
- scoped_refptr<base::SequencedTaskRunner> cache_task_runner() const {
+ const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner() const {
return cache_task_runner_;
}
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_cache_storage_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698