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

Issue 14319002: Change AlarmManager to use ProfileKeyedAPI. (Closed)

Created:
7 years, 8 months ago by Patrick Riordan
Modified:
7 years, 8 months ago
CC:
chromium-reviews, Aaron Boodman, sail+watch_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Change AlarmManager to use ProfileKeyedAPI. BUG=179951 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196555

Patch Set 1 #

Patch Set 2 : Fixed comment typo #

Patch Set 3 : Got rid of kServiceIsNULLWhileTesting #

Total comments: 6

Patch Set 4 : Another nit: superclasses listed in alphabetical order #

Patch Set 5 : AlarmManager now always owns clock_ #

Total comments: 4

Patch Set 6 : Changed comment to note ownership #

Patch Set 7 : Took alarm_manager_ out of TestExtensionSystem #

Patch Set 8 : Latest master #

Patch Set 9 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -74 lines) Patch
M chrome/browser/extensions/api/alarms/alarm_manager.h View 1 2 3 4 5 6 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/alarms/alarm_manager.cc View 1 2 3 4 3 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/alarms/alarms_api.cc View 6 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/extensions/api/alarms/alarms_api_unittest.cc View 1 2 3 4 19 chunks +22 lines, -24 lines 0 comments Download
M chrome/browser/extensions/extension_system.h View 1 2 3 4 5 6 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_system.cc View 1 2 3 4 5 4 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.h View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/extensions/test_extension_system.cc View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Patrick Riordan
7 years, 8 months ago (2013-04-17 00:45:26 UTC) #1
Devlin
https://codereview.chromium.org/14319002/diff/8001/chrome/browser/extensions/api/alarms/alarm_manager.h File chrome/browser/extensions/api/alarms/alarm_manager.h (right): https://codereview.chromium.org/14319002/diff/8001/chrome/browser/extensions/api/alarms/alarm_manager.h#newcode52 chrome/browser/extensions/api/alarms/alarm_manager.h:52: public ProfileKeyedAPI { Nit: this is the most important ...
7 years, 8 months ago (2013-04-17 01:30:59 UTC) #2
Patrick Riordan
https://codereview.chromium.org/14319002/diff/8001/chrome/browser/extensions/api/alarms/alarm_manager.h File chrome/browser/extensions/api/alarms/alarm_manager.h (right): https://codereview.chromium.org/14319002/diff/8001/chrome/browser/extensions/api/alarms/alarm_manager.h#newcode52 chrome/browser/extensions/api/alarms/alarm_manager.h:52: public ProfileKeyedAPI { On 2013/04/17 01:30:59, D Cronin wrote: ...
7 years, 8 months ago (2013-04-17 03:40:39 UTC) #3
Devlin
lgtm with nits https://codereview.chromium.org/14319002/diff/13001/chrome/browser/extensions/api/alarms/alarm_manager.cc File chrome/browser/extensions/api/alarms/alarm_manager.cc (right): https://codereview.chromium.org/14319002/diff/13001/chrome/browser/extensions/api/alarms/alarm_manager.cc#newcode171 chrome/browser/extensions/api/alarms/alarm_manager.cc:171: void AlarmManager::SetClockForTesting(base::Clock* clock) { Put methods ...
7 years, 8 months ago (2013-04-22 21:19:28 UTC) #4
Patrick Riordan
+ yoz for c/b/extensions/ + mirandac for c/b/profiles/ https://codereview.chromium.org/14319002/diff/13001/chrome/browser/extensions/api/alarms/alarm_manager.cc File chrome/browser/extensions/api/alarms/alarm_manager.cc (right): https://codereview.chromium.org/14319002/diff/13001/chrome/browser/extensions/api/alarms/alarm_manager.cc#newcode171 chrome/browser/extensions/api/alarms/alarm_manager.cc:171: void ...
7 years, 8 months ago (2013-04-23 23:32:04 UTC) #5
Yoyo Zhou
LGTM The CL description should describe what the CL is doing rather than the state ...
7 years, 8 months ago (2013-04-24 00:34:20 UTC) #6
Miranda Callahan
On 2013/04/24 00:34:20, Yoyo Zhou wrote: > LGTM > The CL description should describe what ...
7 years, 8 months ago (2013-04-24 09:54:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/14319002/19001
7 years, 8 months ago (2013-04-24 23:22:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/14319002/41002
7 years, 8 months ago (2013-04-25 00:17:00 UTC) #9
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-25 01:11:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/14319002/53001
7 years, 8 months ago (2013-04-25 01:19:12 UTC) #11
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-25 01:30:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/patrickriordan177@gmail.com/14319002/45002
7 years, 8 months ago (2013-04-25 22:29:12 UTC) #13
commit-bot: I haz the power
7 years, 8 months ago (2013-04-26 00:40:07 UTC) #14
Message was sent while issue was closed.
Change committed as 196555

Powered by Google App Engine
This is Rietveld 408576698