| Index: extensions/renderer/script_context.cc
|
| diff --git a/extensions/renderer/script_context.cc b/extensions/renderer/script_context.cc
|
| index 197e6c0c764c6ee96c514d876b832a2dea46894d..dc7fb9f7bab24d089aaaf2456729f5a7f55d8f14 100644
|
| --- a/extensions/renderer/script_context.cc
|
| +++ b/extensions/renderer/script_context.cc
|
| @@ -254,6 +254,11 @@ std::string ScriptContext::GetEffectiveContextTypeDescription() const {
|
| return GetContextTypeDescriptionString(effective_context_type_);
|
| }
|
|
|
| +const GURL& ScriptContext::service_worker_scope() const {
|
| + DCHECK_EQ(Feature::SERVICE_WORKER_CONTEXT, context_type());
|
| + return service_worker_scope_;
|
| +}
|
| +
|
| bool ScriptContext::IsAnyFeatureAvailableToContext(
|
| const Feature& api,
|
| CheckAliasStatus check_alias) {
|
|
|