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

Issue 2913883002: [Mac] Wrap NSUserActivity begin/end so that it can be called from common files (Closed)

Created:
3 years, 6 months ago by lgrey
Modified:
3 years, 6 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Wrap NSUserActivity begin/end so that it can be called from common files This is prep for turning on AppNap as a variation of the MacAllowBackgroundingProcesses experiment. BUG=460102 Review-Url: https://codereview.chromium.org/2913883002 Cr-Commit-Position: refs/heads/master@{#476379} Committed: https://chromium.googlesource.com/chromium/src/+/ece963bf6bf190b57620261673c6bc3d70f5ec97

Patch Set 1 #

Patch Set 2 : Doc comments #

Patch Set 3 : Move to common/mac #

Patch Set 4 : Actually stage moved files :/ #

Total comments: 19

Patch Set 5 : CL comments #

Total comments: 6

Patch Set 6 : CL comments #

Patch Set 7 : Whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -0 lines) Patch
M content/common/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A content/common/mac/app_nap_activity.h View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A content/common/mac/app_nap_activity.mm View 1 2 3 4 5 6 1 chunk +50 lines, -0 lines 0 comments Download
A content/common/mac/app_nap_activity_unittest.mm View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (23 generated)
lgrey
PTAL :)
3 years, 6 months ago (2017-05-31 17:34:53 UTC) #13
Robert Sesek
https://codereview.chromium.org/2913883002/diff/60001/content/common/mac/activity.h File content/common/mac/activity.h (right): https://codereview.chromium.org/2913883002/diff/60001/content/common/mac/activity.h#newcode13 content/common/mac/activity.h:13: namespace mac { use |namespace content| https://codereview.chromium.org/2913883002/diff/60001/content/common/mac/activity.h#newcode13 content/common/mac/activity.h:13: namespace ...
3 years, 6 months ago (2017-05-31 18:11:27 UTC) #14
lgrey
https://codereview.chromium.org/2913883002/diff/60001/content/common/mac/activity.h File content/common/mac/activity.h (right): https://codereview.chromium.org/2913883002/diff/60001/content/common/mac/activity.h#newcode13 content/common/mac/activity.h:13: namespace mac { On 2017/05/31 18:11:26, Robert Sesek wrote: ...
3 years, 6 months ago (2017-05-31 21:28:12 UTC) #17
Robert Sesek
LGTM w/ some nits https://codereview.chromium.org/2913883002/diff/60001/content/common/mac/activity.mm File content/common/mac/activity.mm (right): https://codereview.chromium.org/2913883002/diff/60001/content/common/mac/activity.mm#newcode20 content/common/mac/activity.mm:20: class AssertionWrapper { On 2017/05/31 ...
3 years, 6 months ago (2017-05-31 22:21:57 UTC) #20
lgrey
Thanks! https://codereview.chromium.org/2913883002/diff/80001/content/common/mac/app_nap_activity.mm File content/common/mac/app_nap_activity.mm (right): https://codereview.chromium.org/2913883002/diff/80001/content/common/mac/app_nap_activity.mm#newcode24 content/common/mac/app_nap_activity.mm:24: public: On 2017/05/31 22:21:56, Robert Sesek wrote: > ...
3 years, 6 months ago (2017-06-01 15:51:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2913883002/120001
3 years, 6 months ago (2017-06-01 15:51:55 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/453312)
3 years, 6 months ago (2017-06-01 16:02:09 UTC) #26
lgrey
+avi@ for content owner (guess who read the wrong OWNERS file? :D)
3 years, 6 months ago (2017-06-01 17:30:44 UTC) #28
Avi (use Gerrit)
lgtm
3 years, 6 months ago (2017-06-01 18:19:44 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2913883002/120001
3 years, 6 months ago (2017-06-01 18:21:03 UTC) #31
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 19:06:21 UTC) #34
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/ece963bf6bf190b57620261673c6...

Powered by Google App Engine
This is Rietveld 408576698