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

Unified Diff: chrome/test/data/extensions/api_test/processes/onupdated/background.html

Issue 3597016: Expands the chrome.experimental.processes extension API.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/test/data/extensions/api_test/processes/onupdated/background.html
===================================================================
--- chrome/test/data/extensions/api_test/processes/onupdated/background.html (revision 0)
+++ chrome/test/data/extensions/api_test/processes/onupdated/background.html (revision 0)
@@ -0,0 +1,7 @@
+<script>
+// Add a simple listener to onUpdated to ensure it does not conflict with the
+// task manager.
+chrome.experimental.processes.onUpdated.addListener(function(processes) {
+ console.log("Received update.");
+});
+</script>
Property changes on: chrome/test/data/extensions/api_test/processes/onupdated/background.html
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698