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

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

Issue 2376403004: Store Origin-Trial tokens to ServiceWorkerDataBase (Closed)
Patch Set: incorporated iclelland's comment Created 4 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 void Disable(); 226 void Disable();
227 227
228 // |resources| must already be on the purgeable list. 228 // |resources| must already be on the purgeable list.
229 void PurgeResources(const ResourceList& resources); 229 void PurgeResources(const ResourceList& resources);
230 230
231 private: 231 private:
232 friend class ServiceWorkerDispatcherHostTest; 232 friend class ServiceWorkerDispatcherHostTest;
233 friend class ServiceWorkerHandleTest; 233 friend class ServiceWorkerHandleTest;
234 friend class ServiceWorkerStorageTest; 234 friend class ServiceWorkerStorageTest;
235 friend class ServiceWorkerStorageOriginTrialsTest;
235 friend class ServiceWorkerRegistrationTest; 236 friend class ServiceWorkerRegistrationTest;
236 friend class ServiceWorkerResourceStorageTest; 237 friend class ServiceWorkerResourceStorageTest;
237 friend class ServiceWorkerControlleeRequestHandlerTest; 238 friend class ServiceWorkerControlleeRequestHandlerTest;
238 friend class ServiceWorkerContextRequestHandlerTest; 239 friend class ServiceWorkerContextRequestHandlerTest;
239 friend class ServiceWorkerReadFromCacheJobTest; 240 friend class ServiceWorkerReadFromCacheJobTest;
240 friend class ServiceWorkerRequestHandlerTest; 241 friend class ServiceWorkerRequestHandlerTest;
241 friend class ServiceWorkerURLRequestJobTest; 242 friend class ServiceWorkerURLRequestJobTest;
242 friend class ServiceWorkerVersionBrowserTest; 243 friend class ServiceWorkerVersionBrowserTest;
243 friend class ServiceWorkerVersionTest; 244 friend class ServiceWorkerVersionTest;
244 friend class ServiceWorkerWriteToCacheJobTest; 245 friend class ServiceWorkerWriteToCacheJobTest;
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 std::set<int64_t> pending_deletions_; 549 std::set<int64_t> pending_deletions_;
549 550
550 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_; 551 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_;
551 552
552 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage); 553 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage);
553 }; 554 };
554 555
555 } // namespace content 556 } // namespace content
556 557
557 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ 558 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_database.proto ('k') | content/browser/service_worker/service_worker_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698