| Index: extensions/renderer/script_injection.h
|
| diff --git a/extensions/renderer/script_injection.h b/extensions/renderer/script_injection.h
|
| index e5cd8ac5434061c83b503d75e8af5122ce9df21f..8d57dd4c8812484d43d632bb01f9cc23ced0587e 100644
|
| --- a/extensions/renderer/script_injection.h
|
| +++ b/extensions/renderer/script_injection.h
|
| @@ -84,6 +84,10 @@ class ScriptInjection {
|
| const HostID& host_id() const { return injection_host_->id(); }
|
| int64_t request_id() const { return request_id_; }
|
|
|
| + // Called when JS injection for the given frame has been completed.
|
| + void OnJsInjectionCompleted(const std::vector<v8::Local<v8::Value>>& results,
|
| + base::TimeDelta elapsed);
|
| +
|
| private:
|
| class FrameWatcher;
|
|
|
| @@ -98,9 +102,6 @@ class ScriptInjection {
|
| void InjectJs(std::set<std::string>* executing_scripts,
|
| size_t* num_injected_js_scripts);
|
|
|
| - // Called when JS injection for the given frame has been completed.
|
| - void OnJsInjectionCompleted(const std::vector<v8::Local<v8::Value>>& results);
|
| -
|
| // Inject any CSS source into the frame for the injection.
|
| void InjectCss(std::set<std::string>* injected_stylesheets,
|
| size_t* num_injected_stylesheets);
|
|
|