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

Unified Diff: extensions/renderer/api_request_handler.h

Issue 2762623003: [Extensions Bindings] Add lastError utilities to APIBindingJSUtil (Closed)
Patch Set: Rebase 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 | « extensions/renderer/api_last_error.cc ('k') | extensions/renderer/native_extension_bindings_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/api_request_handler.h
diff --git a/extensions/renderer/api_request_handler.h b/extensions/renderer/api_request_handler.h
index 9342f2e5bf39a1d75651be6cf098ee938cafc3dc..60996c3d9d317a39b8daec0f02a748f52a00ec7e 100644
--- a/extensions/renderer/api_request_handler.h
+++ b/extensions/renderer/api_request_handler.h
@@ -74,6 +74,8 @@ class APIRequestHandler {
// Invalidates any requests that are associated with |context|.
void InvalidateContext(v8::Local<v8::Context> context);
+ APILastError* last_error() { return &last_error_; }
+
std::set<int> GetPendingRequestIdsForTesting() const;
private:
« no previous file with comments | « extensions/renderer/api_last_error.cc ('k') | extensions/renderer/native_extension_bindings_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698