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

Issue 10152008: Extension alarms now persist in Preferences. (Closed)

Created:
8 years, 8 months ago by Matt Perry
Modified:
8 years, 8 months ago
CC:
chromium-reviews, mihaip+watch_chromium.org
Visibility:
Public.

Description

Extension alarms now persist in Preferences. BUG=122815 TEST=no Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133543

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : clang #

Patch Set 4 : NULL check for unit tests #

Total comments: 15

Patch Set 5 : aa #

Patch Set 6 : timer #

Patch Set 7 : no more TimerInfo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -19 lines) Patch
M base/timer.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/alarms/alarm_manager.h View 1 2 3 4 5 6 4 chunks +27 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/alarms/alarm_manager.cc View 1 2 3 4 5 6 6 chunks +110 lines, -17 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 4 chunks +44 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Matt Perry
8 years, 8 months ago (2012-04-20 00:43:13 UTC) #1
Aaron Boodman
http://codereview.chromium.org/10152008/diff/10001/chrome/browser/extensions/api/alarms/alarm_manager.cc File chrome/browser/extensions/api/alarms/alarm_manager.cc (right): http://codereview.chromium.org/10152008/diff/10001/chrome/browser/extensions/api/alarms/alarm_manager.cc#newcode48 chrome/browser/extensions/api/alarms/alarm_manager.cc:48: base::Time scheduled_run_time; I don't understand why you introduced this ...
8 years, 8 months ago (2012-04-20 17:58:22 UTC) #2
Matt Perry
http://codereview.chromium.org/10152008/diff/10001/chrome/browser/extensions/api/alarms/alarm_manager.cc File chrome/browser/extensions/api/alarms/alarm_manager.cc (right): http://codereview.chromium.org/10152008/diff/10001/chrome/browser/extensions/api/alarms/alarm_manager.cc#newcode48 chrome/browser/extensions/api/alarms/alarm_manager.cc:48: base::Time scheduled_run_time; On 2012/04/20 17:58:22, Aaron Boodman wrote: > ...
8 years, 8 months ago (2012-04-20 19:38:49 UTC) #3
Aaron Boodman
http://codereview.chromium.org/10152008/diff/10001/chrome/browser/extensions/api/alarms/alarm_manager.cc File chrome/browser/extensions/api/alarms/alarm_manager.cc (right): http://codereview.chromium.org/10152008/diff/10001/chrome/browser/extensions/api/alarms/alarm_manager.cc#newcode48 chrome/browser/extensions/api/alarms/alarm_manager.cc:48: base::Time scheduled_run_time; On 2012/04/20 19:38:49, Matt Perry wrote: > ...
8 years, 8 months ago (2012-04-20 23:15:24 UTC) #4
Matt Perry
http://codereview.chromium.org/10152008/diff/10001/chrome/browser/extensions/api/alarms/alarm_manager.cc File chrome/browser/extensions/api/alarms/alarm_manager.cc (right): http://codereview.chromium.org/10152008/diff/10001/chrome/browser/extensions/api/alarms/alarm_manager.cc#newcode185 chrome/browser/extensions/api/alarms/alarm_manager.cc:185: ExtensionSystem::Get(profile_)->extension_service(); On 2012/04/20 23:15:24, Aaron Boodman wrote: > On ...
8 years, 8 months ago (2012-04-20 23:39:41 UTC) #5
Aaron Boodman
I recommend changing base::Timer to expose its delivery time. I don't see why there'd be ...
8 years, 8 months ago (2012-04-20 23:50:12 UTC) #6
Matt Perry
+jar for base/timer.h Jim, do you have any objections to exposing the next desired run ...
8 years, 8 months ago (2012-04-21 00:23:36 UTC) #7
jar (doing other things)
I'm a tad surprised that it is useful. My two (minimal) fears would be that ...
8 years, 8 months ago (2012-04-21 15:55:51 UTC) #8
Matt Perry
(a) was what I expected you to be worried about, and why I asked you ...
8 years, 8 months ago (2012-04-23 19:39:36 UTC) #9
jar (doing other things)
lgtm
8 years, 8 months ago (2012-04-23 19:43:21 UTC) #10
Matt Perry
OK aa, got rid of TimerInfo in favor of base::Timer::desired_run_time
8 years, 8 months ago (2012-04-23 21:31:58 UTC) #11
Aaron Boodman
8 years, 8 months ago (2012-04-23 21:36:23 UTC) #12
lgtm

Powered by Google App Engine
This is Rietveld 408576698