Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(968)

Unified Diff: chrome/test/base/module_system_test.h

Issue 16032015: Extensions: pass ChromeV8Context around instead of v8::Handle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/base/module_system_test.h
diff --git a/chrome/test/base/module_system_test.h b/chrome/test/base/module_system_test.h
index ce3f65430d670700ed794d7d10302dcfb56ab9b0..b5942062ed40bddf22df03d6d99324ff7eb5417a 100644
--- a/chrome/test/base/module_system_test.h
+++ b/chrome/test/base/module_system_test.h
@@ -5,6 +5,7 @@
#ifndef CHROME_TEST_BASE_MODULE_SYSTEM_TEST_H_
#define CHROME_TEST_BASE_MODULE_SYSTEM_TEST_H_
+#include "chrome/renderer/extensions/chrome_v8_context.h"
#include "chrome/renderer/extensions/module_system.h"
#include "chrome/renderer/extensions/scoped_persistent.h"
#include "v8/include/v8.h"
@@ -54,6 +55,7 @@ class ModuleSystemTest : public testing::Test {
v8::Isolate* isolate_;
v8::HandleScope handle_scope_;
extensions::ScopedPersistent<v8::Context> context_;
+ scoped_ptr<extensions::ChromeV8Context> chrome_v8_context_;
not at google - send to devlin 2013/05/29 15:55:13 It would be nicer if this were just scoped_ptr<e::
marja 2013/05/29 16:56:33 Done.
AssertNatives* assert_natives_;
scoped_ptr<StringSourceMap> source_map_;
scoped_ptr<extensions::ModuleSystem> module_system_;

Powered by Google App Engine
This is Rietveld 408576698