| Index: extensions/renderer/script_context.h
|
| diff --git a/extensions/renderer/script_context.h b/extensions/renderer/script_context.h
|
| index 5c40dfb67951761eaffb43cf1cd19ef2667dad9a..8d6f853e9e5ca43832cfee2092db26b3e7f4ee8e 100644
|
| --- a/extensions/renderer/script_context.h
|
| +++ b/extensions/renderer/script_context.h
|
| @@ -38,7 +38,7 @@ class ScriptContext : public RequestSender::Source, public gin::Runner {
|
| Feature::Context context_type,
|
| const Extension* effective_extension,
|
| Feature::Context effective_context_type);
|
| - virtual ~ScriptContext();
|
| + ~ScriptContext() override;
|
|
|
| // Clears the WebFrame for this contexts and invalidates the associated
|
| // ModuleSystem.
|
| @@ -133,21 +133,21 @@ class ScriptContext : public RequestSender::Source, public gin::Runner {
|
| bool match_about_blank);
|
|
|
| // RequestSender::Source implementation.
|
| - virtual ScriptContext* GetContext() override;
|
| - virtual void OnResponseReceived(const std::string& name,
|
| - int request_id,
|
| - bool success,
|
| - const base::ListValue& response,
|
| - const std::string& error) override;
|
| + ScriptContext* GetContext() override;
|
| + void OnResponseReceived(const std::string& name,
|
| + int request_id,
|
| + bool success,
|
| + const base::ListValue& response,
|
| + const std::string& error) override;
|
|
|
| // gin::Runner overrides.
|
| - virtual void Run(const std::string& source,
|
| - const std::string& resource_name) override;
|
| - virtual v8::Handle<v8::Value> Call(v8::Handle<v8::Function> function,
|
| - v8::Handle<v8::Value> receiver,
|
| - int argc,
|
| - v8::Handle<v8::Value> argv[]) override;
|
| - virtual gin::ContextHolder* GetContextHolder() override;
|
| + void Run(const std::string& source,
|
| + const std::string& resource_name) override;
|
| + v8::Handle<v8::Value> Call(v8::Handle<v8::Function> function,
|
| + v8::Handle<v8::Value> receiver,
|
| + int argc,
|
| + v8::Handle<v8::Value> argv[]) override;
|
| + gin::ContextHolder* GetContextHolder() override;
|
|
|
| protected:
|
| // The v8 context the bindings are accessible to.
|
|
|