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

Unified Diff: extensions/renderer/native_extension_bindings_system.h

Issue 2953133002: [Extensions Bindings] Support chrome.extension.lastError (Closed)
Patch Set: jbroman's, lazyboy's Created 3 years, 6 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: extensions/renderer/native_extension_bindings_system.h
diff --git a/extensions/renderer/native_extension_bindings_system.h b/extensions/renderer/native_extension_bindings_system.h
index a606ba74c082eacd915e3d784a4a5edda2d82d6a..a1e66e0b2122cf693d34d76ee6a74fdcb290c951 100644
--- a/extensions/renderer/native_extension_bindings_system.h
+++ b/extensions/renderer/native_extension_bindings_system.h
@@ -86,7 +86,9 @@ class NativeExtensionBindingsSystem : public ExtensionBindingsSystem {
v8::Local<v8::String> name);
// Gets the chrome.runtime API binding.
- static v8::Local<v8::Object> GetRuntime(v8::Local<v8::Context> context);
+ static v8::Local<v8::Object> GetLastErrorParents(
+ v8::Local<v8::Context> context,
+ v8::Local<v8::Object>* secondary_parent);
// Callback to get an API binding for an internal API.
static void GetInternalAPI(const v8::FunctionCallbackInfo<v8::Value>& info);
« no previous file with comments | « extensions/renderer/bindings/api_request_handler_unittest.cc ('k') | extensions/renderer/native_extension_bindings_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698