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

Unified Diff: extensions/renderer/api_test_base.cc

Issue 2744963002: Introduce InterfaceEndpointClient(IEC), InterfaceEndpointHandle and (Closed)
Patch Set: Throw the error with the string being the stack trace needed to debug layouts which don't output an… Created 3 years, 9 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/api_test_base.cc
diff --git a/extensions/renderer/api_test_base.cc b/extensions/renderer/api_test_base.cc
index c71e843f16c25870976c3600a42a02024328a709..b4f6342f64a11ae9f8e014fd6614ea0a4312df18 100644
--- a/extensions/renderer/api_test_base.cc
+++ b/extensions/renderer/api_test_base.cc
@@ -18,6 +18,7 @@
#include "gin/converter.h"
#include "gin/dictionary.h"
#include "gin/modules/console.h"
+#include "gin/modules/timer.h"
#include "mojo/edk/js/core.h"
#include "mojo/edk/js/handle.h"
#include "mojo/edk/js/support.h"
@@ -157,6 +158,9 @@ void ApiTestEnvironment::RegisterModules() {
->AddBuiltinModule(env()->isolate(), gin::Console::kModuleName,
gin::Console::GetModule(env()->isolate()));
gin::ModuleRegistry::From(env()->context()->v8_context())
+ ->AddBuiltinModule(env()->isolate(), gin::TimerModule::kName,
+ gin::TimerModule::GetModule(env()->isolate()));
+ gin::ModuleRegistry::From(env()->context()->v8_context())
->AddBuiltinModule(env()->isolate(), mojo::edk::js::Core::kModuleName,
mojo::edk::js::Core::GetModule(env()->isolate()));
gin::ModuleRegistry::From(env()->context()->v8_context())
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698