| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/renderer/extensions/chrome_v8_context.h" | 5 #include "chrome/renderer/extensions/chrome_v8_context.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context, | 9 ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context, |
| 10 blink::WebFrame* web_frame, | 10 blink::WebFrame* web_frame, |
| 11 const Extension* extension, | 11 const Extension* extension, |
| 12 Feature::Context context_type) | 12 Feature::Context context_type, |
| 13 : ScriptContext(v8_context, web_frame, extension, context_type) { | 13 const Extension* effective_extension, |
| 14 Feature::Context effective_context_type) |
| 15 : ScriptContext(v8_context, |
| 16 web_frame, |
| 17 extension, |
| 18 context_type, |
| 19 effective_extension, |
| 20 effective_context_type) { |
| 14 } | 21 } |
| 15 | 22 |
| 16 } // namespace extensions | 23 } // namespace extensions |
| OLD | NEW |