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

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

Issue 2390953002: ServiceWorker: Remove an unused origin_filter param for cleanup (Closed)
Patch Set: slightly revert renaming for consistency 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_storage.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 const GURL& scope, 354 const GURL& scope,
355 const FindRegistrationCallback& callback, 355 const FindRegistrationCallback& callback,
356 const ServiceWorkerDatabase::RegistrationData& data, 356 const ServiceWorkerDatabase::RegistrationData& data,
357 const ResourceList& resources, 357 const ResourceList& resources,
358 ServiceWorkerDatabase::Status status); 358 ServiceWorkerDatabase::Status status);
359 void DidFindRegistrationForId( 359 void DidFindRegistrationForId(
360 const FindRegistrationCallback& callback, 360 const FindRegistrationCallback& callback,
361 const ServiceWorkerDatabase::RegistrationData& data, 361 const ServiceWorkerDatabase::RegistrationData& data,
362 const ResourceList& resources, 362 const ResourceList& resources,
363 ServiceWorkerDatabase::Status status); 363 ServiceWorkerDatabase::Status status);
364 void DidGetRegistrations(const GetRegistrationsCallback& callback, 364 void DidGetRegistrationsForOrigin(const GetRegistrationsCallback& callback,
365 RegistrationList* registration_data_list, 365 RegistrationList* registration_data_list,
366 std::vector<ResourceList>* resources_list, 366 std::vector<ResourceList>* resources_list,
367 const GURL& origin_filter, 367 const GURL& origin_filter,
368 ServiceWorkerDatabase::Status status); 368 ServiceWorkerDatabase::Status status);
369 void DidGetRegistrationsInfos(const GetRegistrationsInfosCallback& callback, 369 void DidGetAllRegistrationsInfos(
370 RegistrationList* registration_data_list, 370 const GetRegistrationsInfosCallback& callback,
371 const GURL& origin_filter, 371 RegistrationList* registration_data_list,
372 ServiceWorkerDatabase::Status status); 372 ServiceWorkerDatabase::Status status);
373 void DidStoreRegistration( 373 void DidStoreRegistration(
374 const StatusCallback& callback, 374 const StatusCallback& callback,
375 const ServiceWorkerDatabase::RegistrationData& new_version, 375 const ServiceWorkerDatabase::RegistrationData& new_version,
376 const GURL& origin, 376 const GURL& origin,
377 const ServiceWorkerDatabase::RegistrationData& deleted_version, 377 const ServiceWorkerDatabase::RegistrationData& deleted_version,
378 const std::vector<int64_t>& newly_purgeable_resources, 378 const std::vector<int64_t>& newly_purgeable_resources,
379 ServiceWorkerDatabase::Status status); 379 ServiceWorkerDatabase::Status status);
380 void DidUpdateToActiveState( 380 void DidUpdateToActiveState(
381 const StatusCallback& callback, 381 const StatusCallback& callback,
382 ServiceWorkerDatabase::Status status); 382 ServiceWorkerDatabase::Status status);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 std::set<int64_t> pending_deletions_; 548 std::set<int64_t> pending_deletions_;
549 549
550 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_; 550 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_;
551 551
552 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage); 552 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage);
553 }; 553 };
554 554
555 } // namespace content 555 } // namespace content
556 556
557 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ 557 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698