Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: messageResponder.js

Issue 29555782: Issue 5701 - Inconsistent forum links and DNT link (Closed)
Patch Set: Fallback Created Sept. 25, 2017, 4:48 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | new-options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
===================================================================
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -179,6 +179,14 @@
};
}
+ if (message.what == "browserInfo")
Sebastian Noack 2017/09/25 17:09:22 Just an idea; how about merging the logic into the
saroyanm 2017/09/25 18:07:53 Don't have strong opinion, on one hand it makes th
Sebastian Noack 2017/09/25 19:07:47 Also note that the reason you introduced "browserI
saroyanm 2017/09/25 20:50:12 I agree with you, looks much more better now. Done
+ {
+ return {
+ platform: info.platform,
+ application: info.application
+ };
+ }
+
return info[message.what];
});
« no previous file with comments | « no previous file | new-options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld