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

Unified Diff: chrome/renderer/extensions/request_sender.h

Issue 227413008: Add the feature to retain the user gesture in the extension callback (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 6 years, 8 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/renderer/extensions/request_sender.h
===================================================================
--- chrome/renderer/extensions/request_sender.h (revision 262146)
+++ chrome/renderer/extensions/request_sender.h (working copy)
@@ -80,7 +80,8 @@
void HandleResponse(int request_id,
bool success,
const base::ListValue& response,
- const std::string& error);
+ const std::string& error,
+ bool user_gesture);
// Notifies this that a request source is no longer valid.
// TODO(kalman): Do this in a generic/safe way.

Powered by Google App Engine
This is Rietveld 408576698