Open Bug 1300844 Opened 8 years ago Updated 2 months ago

Remove Action* and Context* and use QuotaClient helpers introduced in bug 1217544

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

People

(Reporter: ferjm, Unassigned)

References

Details

Attachments

(1 file, 2 obsolete files)

Assignee: nobody → ferjmoreno
Depends on: 1217544
Attached patch v1 (obsolete) — Splinter Review
Attached patch v1Splinter Review
Attachment #8798803 - Attachment is obsolete: true
Comment on attachment 8832161 [details] [diff] [review]
v1

This patch removes dom/cache/Action* and dom/cache/Context* in favor of the QuotaClient helpers introduced in bug 1217544.
Attachment #8832161 - Flags: review?(bkelly)
Comment on attachment 8832161 [details] [diff] [review]
v1

Review of attachment 8832161 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for doing this!  Just a couple questions before we move forward, though:

Can you clarify the situation with CacheId?  It seems the ClientContext uses its own concept of a storage ID, but we still define a CacheId type separately?  That seems like it needs to get unified somehow.

This needs to delete Context.cpp.  Its removed from the moz.build, but the file itself is not removed AFAICT.

::: dom/cache/Types.h
@@ +24,5 @@
>  };
>  static const Namespace INVALID_NAMESPACE = NUMBER_OF_NAMESPACES;
>  
>  typedef int64_t CacheId;
>  static const CacheId INVALID_CACHE_ID = -1;

Should these be removed in favor of the quota primitives now?  I noticed you replaced many uses of CacheId with int64_t directly.
Attachment #8832161 - Flags: review?(bkelly) → review-
Priority: -- → P3
Assignee: ferjmoreno → nobody
Severity: normal → S3
Attachment #9384796 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: