| Index: extensions/browser/extension_function.h
|
| diff --git a/extensions/browser/extension_function.h b/extensions/browser/extension_function.h
|
| index d6a0ad401abb836edcde59ec5b4bdb9fb4587a59..c6fbb089e49721e80830a8290e982018ccc3d206 100644
|
| --- a/extensions/browser/extension_function.h
|
| +++ b/extensions/browser/extension_function.h
|
| @@ -531,6 +531,9 @@ class UIThreadExtensionFunction : public ExtensionFunction {
|
| void set_is_from_service_worker(bool value) {
|
| is_from_service_worker_ = value;
|
| }
|
| + void set_embedded_worker_id(int embedded_worker_id) {
|
| + embedded_worker_id_ = embedded_worker_id;
|
| + }
|
|
|
| // Gets the "current" web contents if any. If there is no associated web
|
| // contents then defaults to the foremost one.
|
| @@ -576,6 +579,7 @@ class UIThreadExtensionFunction : public ExtensionFunction {
|
| // Whether or not this ExtensionFunction was called by an extension Service
|
| // Worker.
|
| bool is_from_service_worker_;
|
| + int embedded_worker_id_;
|
|
|
| std::unique_ptr<RenderFrameHostTracker> tracker_;
|
|
|
|
|