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

Unified Diff: chrome/browser/extensions/api/messaging/message_service.cc

Issue 240223004: When passing a user gesture along with a message, include the timestamp of the user gesture to prev… (Closed) Base URL: svn://svn.chromium.org/chrome/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
« no previous file with comments | « no previous file | chrome/renderer/extensions/messaging_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/messaging/message_service.cc
diff --git a/chrome/browser/extensions/api/messaging/message_service.cc b/chrome/browser/extensions/api/messaging/message_service.cc
index 561023a2164eef86e1b80f8c986e22d4bcfdb60f..4ed2b0ff3bd7359092a8896d767061a637e67093 100644
--- a/chrome/browser/extensions/api/messaging/message_service.cc
+++ b/chrome/browser/extensions/api/messaging/message_service.cc
@@ -566,7 +566,7 @@ void MessageService::PostMessage(int source_port_id, const Message& message) {
void MessageService::PostMessageFromNativeProcess(int port_id,
const std::string& message) {
- PostMessage(port_id, Message(message, false /* user_gesture */));
+ PostMessage(port_id, Message(message, false /* user_gesture */, 0.0));
}
void MessageService::Observe(int type,
« no previous file with comments | « no previous file | chrome/renderer/extensions/messaging_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698