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

Side by Side Diff: content/browser/service_worker/service_worker_storage.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 typedef base::Callback<void(ServiceWorkerStatusCode status, 51 typedef base::Callback<void(ServiceWorkerStatusCode status,
52 const scoped_refptr<ServiceWorkerRegistration>& 52 const scoped_refptr<ServiceWorkerRegistration>&
53 registration)> FindRegistrationCallback; 53 registration)> FindRegistrationCallback;
54 typedef base::Callback< 54 typedef base::Callback<
55 void(const std::vector<ServiceWorkerRegistrationInfo>& registrations)> 55 void(const std::vector<ServiceWorkerRegistrationInfo>& registrations)>
56 GetAllRegistrationInfosCallback; 56 GetAllRegistrationInfosCallback;
57 typedef base::Callback< 57 typedef base::Callback<
58 void(ServiceWorkerStatusCode status, bool are_equal)> 58 void(ServiceWorkerStatusCode status, bool are_equal)>
59 CompareCallback; 59 CompareCallback;
60 60
61 virtual ~ServiceWorkerStorage(); 61 ~ServiceWorkerStorage() override;
62 62
63 static scoped_ptr<ServiceWorkerStorage> Create( 63 static scoped_ptr<ServiceWorkerStorage> Create(
64 const base::FilePath& path, 64 const base::FilePath& path,
65 base::WeakPtr<ServiceWorkerContextCore> context, 65 base::WeakPtr<ServiceWorkerContextCore> context,
66 scoped_ptr<ServiceWorkerDatabaseTaskManager> database_task_manager, 66 scoped_ptr<ServiceWorkerDatabaseTaskManager> database_task_manager,
67 const scoped_refptr<base::SingleThreadTaskRunner>& disk_cache_thread, 67 const scoped_refptr<base::SingleThreadTaskRunner>& disk_cache_thread,
68 storage::QuotaManagerProxy* quota_manager_proxy, 68 storage::QuotaManagerProxy* quota_manager_proxy,
69 storage::SpecialStoragePolicy* special_storage_policy); 69 storage::SpecialStoragePolicy* special_storage_policy);
70 70
71 // Used for DeleteAndStartOver. Creates new storage based on |old_storage|. 71 // Used for DeleteAndStartOver. Creates new storage based on |old_storage|.
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 std::set<int64> pending_deletions_; 399 std::set<int64> pending_deletions_;
400 400
401 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_; 401 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_;
402 402
403 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage); 403 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage);
404 }; 404 };
405 405
406 } // namespace content 406 } // namespace content
407 407
408 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ 408 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698