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

Issue 23729005: Enable Activity Logging by default (Closed)

Created:
7 years, 3 months ago by felt
Modified:
7 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, mvrable, karenlees
Visibility:
Public.

Description

Enable Activity Logging by default Previously, the Activity Log was disabled by default unless a flag was set or a specific app was installed. With this CL, events will be logged for everyone. However, we will only write to the database or stream to the API if the flag is set or the app is installed. BUG=276501 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221319

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Removed unneeded boolean #

Patch Set 4 : Minor cleanup before review #

Total comments: 4

Patch Set 5 : Added definition of 'active' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -168 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log.h View 1 2 3 4 4 chunks +33 lines, -26 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log.cc View 1 2 3 8 chunks +60 lines, -68 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc View 1 2 3 7 chunks +81 lines, -28 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_unittest.cc View 3 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api.cc View 1 1 chunk +6 lines, -8 lines 1 comment Download
M chrome/browser/extensions/event_router.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/common/render_messages.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.h View 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.cc View 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/renderer/extensions/dom_activity_logger.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/renderer/extensions/dom_activity_logger.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
felt
Hi Matt, Can you please review this CL? Adrienne
7 years, 3 months ago (2013-08-29 15:01:42 UTC) #1
karenlees
https://codereview.chromium.org/23729005/diff/14001/chrome/browser/extensions/activity_log/activity_log.cc File chrome/browser/extensions/activity_log/activity_log.cc (right): https://codereview.chromium.org/23729005/diff/14001/chrome/browser/extensions/activity_log/activity_log.cc#newcode437 chrome/browser/extensions/activity_log/activity_log.cc:437: if (!policy_) We could also add check for IsDatabaseEnabled ...
7 years, 3 months ago (2013-08-29 17:09:08 UTC) #2
felt
https://codereview.chromium.org/23729005/diff/14001/chrome/browser/extensions/activity_log/activity_log.cc File chrome/browser/extensions/activity_log/activity_log.cc (right): https://codereview.chromium.org/23729005/diff/14001/chrome/browser/extensions/activity_log/activity_log.cc#newcode437 chrome/browser/extensions/activity_log/activity_log.cc:437: if (!policy_) On 2013/08/29 17:09:08, karenlees wrote: > We ...
7 years, 3 months ago (2013-08-29 17:35:35 UTC) #3
Matt Perry
Have you done any measuring to see how the activity log affects performance and memory ...
7 years, 3 months ago (2013-08-29 23:51:35 UTC) #4
felt
On 2013/08/29 23:51:35, Matt Perry wrote: > Have you done any measuring to see how ...
7 years, 3 months ago (2013-08-29 23:57:46 UTC) #5
Matt Perry
On 2013/08/29 23:57:46, felt wrote: > On 2013/08/29 23:51:35, Matt Perry wrote: > > Have ...
7 years, 3 months ago (2013-08-30 00:11:28 UTC) #6
felt
On 2013/08/30 00:11:28, Matt Perry wrote: > On 2013/08/29 23:57:46, felt wrote: > > On ...
7 years, 3 months ago (2013-08-30 00:16:48 UTC) #7
felt
> > You could try using PerfTimer to time all the calls to LogExtensionActivity, > ...
7 years, 3 months ago (2013-08-30 19:53:59 UTC) #8
Matt Perry
On 2013/08/30 19:53:59, felt wrote: > > > You could try using PerfTimer to time ...
7 years, 3 months ago (2013-08-30 20:38:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/23729005/20001
7 years, 3 months ago (2013-08-30 20:41:36 UTC) #10
Matt Perry
Still LGTM, but a request for more measuring. https://codereview.chromium.org/23729005/diff/20001/chrome/browser/extensions/api/web_request/web_request_api.cc File chrome/browser/extensions/api/web_request/web_request_api.cc (right): https://codereview.chromium.org/23729005/diff/20001/chrome/browser/extensions/api/web_request/web_request_api.cc#newcode1679 chrome/browser/extensions/api/web_request/web_request_api.cc:1679: LogExtensionActivity(profile, ...
7 years, 3 months ago (2013-08-30 20:49:20 UTC) #11
felt
On 2013/08/30 20:49:20, Matt Perry wrote: > Still LGTM, but a request for more measuring. ...
7 years, 3 months ago (2013-08-30 22:09:46 UTC) #12
felt
Hi Chris & James, can I get OWNERS reviews for two files: cevans: chrome/common/render_messages.h jhawkins: ...
7 years, 3 months ago (2013-08-30 22:16:31 UTC) #13
Matt Perry
On 2013/08/30 22:09:46, felt wrote: > On 2013/08/30 20:49:20, Matt Perry wrote: > > Still ...
7 years, 3 months ago (2013-08-30 22:18:47 UTC) #14
James Hawkins
lgtm
7 years, 3 months ago (2013-08-30 23:34:57 UTC) #15
felt
On 2013/08/30 22:16:31, felt wrote: > Hi Chris & James, can I get OWNERS reviews ...
7 years, 3 months ago (2013-09-03 15:58:38 UTC) #16
felt
palmer- cevans said you'd review this for me. I need OWNERS for chrome/common/render_messages.h. It should ...
7 years, 3 months ago (2013-09-04 19:44:07 UTC) #17
palmer
lgtm
7 years, 3 months ago (2013-09-04 20:36:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/23729005/20001
7 years, 3 months ago (2013-09-04 20:38:03 UTC) #19
felt
On 2013/09/04 20:36:24, Chromium Palmer wrote: > lgtm thanks!
7 years, 3 months ago (2013-09-04 20:38:03 UTC) #20
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=10933
7 years, 3 months ago (2013-09-04 21:14:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/23729005/20001
7 years, 3 months ago (2013-09-05 00:02:35 UTC) #22
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 00:40:48 UTC) #23
Message was sent while issue was closed.
Change committed as 221319

Powered by Google App Engine
This is Rietveld 408576698