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

Unified Diff: chrome/common/extensions/docs/examples/api/power/background.js

Issue 531953002: Remove windows.onCreated hack from Keep Awake extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/common/extensions/docs/examples/api/power/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/examples/api/power/background.js
diff --git a/chrome/common/extensions/docs/examples/api/power/background.js b/chrome/common/extensions/docs/examples/api/power/background.js
index b56080e3aa53e7347bfc62bd2502e7923bcf2e3d..95217c07e1cff3935f8076d3395405f4370340d9 100644
--- a/chrome/common/extensions/docs/examples/api/power/background.js
+++ b/chrome/common/extensions/docs/examples/api/power/background.js
@@ -95,8 +95,3 @@ chrome.browserAction.onClicked.addListener(function() {
chrome.runtime.onStartup.addListener(function() {
loadSavedState(function(state) { setState(state); });
});
-
-// TODO(derat): Remove this once http://crbug.com/222473 is fixed.
-chrome.windows.onCreated.addListener(function() {
- loadSavedState(function(state) { setState(state); });
-});
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/api/power/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698