commit | d389a96ff7963b90a7a80bc3cd3318fdf48c0e70 | [log] [tgz] |
---|---|---|
author | nhiroki <nhiroki@chromium.org> | Thu Apr 23 06:12:26 2015 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 23 06:12:37 2015 |
tree | 6ba8f2d85cd99b281e2a6a9b62b4de812f300c87 | |
parent | deec21d2f582eff12c78adac4d16ad54d7461066 [diff] |
ServiceWorker: Stop exposing ServiceWorkerContextCore External components (eg. Push) can directly access SWContextCore, but the context core is designed for internal use and should be accessed via SWContextWrapper because it can be null in some cases (eg, failing to restart the system. See [1,2] for details of the wrapper-core layering). To enforce the rule, this CL stops exposing the context core and makes the wrapper to provide interfaces for that instead. [1] https://code.google.com/p/chromium/issues/detail?id=371675#c18 [2] https://docs.google.com/document/d/1eXdgnAOZC4dDDybmRpXT0t0lOYGhFf7xajOSanEb91Y/edit?usp=sharing BUG=472019 TEST=compile Review URL: https://codereview.chromium.org/1079923002 Cr-Commit-Position: refs/heads/master@{#326464}