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

Issue 325001: Introduce browser_sync::ExtensionsActivityMonitor to collect extensions API u... (Closed)

Created:
11 years, 2 months ago by tim (not reviewing)
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, ncarter (slow), ben+cc_chromium.org, Erik does not do reviews, idana, Aaron Boodman, pam+watch_chromium.org
Visibility:
Public.

Description

Introduce browser_sync::ExtensionsActivityMonitor to collect extensions API usage for correlation to sync commit requests. Add ChromiumExtensionsActivity to sync.proto to allow passing this data to sync servers. BUG=25323 TEST=Added ExtensionsActivityMonitorTest. +Performing mutations on the bookmarks model via an extension should result in ChromiumExtensionsActivity for each such extension showing up in CommitMessages. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30153

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 14

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 8

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+521 lines, -18 lines) Patch
M chrome/browser/extensions/extension_bookmarks_module.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_bookmarks_module.cc View 1 2 3 4 5 6 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_function.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/build_commit_command.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/build_commit_command.cc View 1 2 3 4 5 6 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/process_commit_response_command.h View 5 6 7 8 9 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/process_commit_response_command.cc View 5 6 7 8 9 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncer.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer.cc View 1 2 3 4 5 6 7 8 9 4 chunks +28 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/syncer_session.h View 1 2 3 4 5 6 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/sync/protocol/sync.proto View 1 2 3 4 5 6 3 chunks +18 lines, -3 lines 0 comments Download
A chrome/browser/sync/util/extensions_activity_monitor.h View 3 4 5 1 chunk +74 lines, -0 lines 0 comments Download
A chrome/browser/sync/util/extensions_activity_monitor.cc View 3 4 5 6 7 8 1 chunk +93 lines, -0 lines 0 comments Download
A chrome/browser/sync/util/extensions_activity_monitor_unittest.cc View 6 7 8 9 1 chunk +234 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 4 chunks +8 lines, -3 lines 0 comments Download
M chrome/common/notification_type.h View 1 2 3 4 5 6 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tim (not reviewing)
Erik, can you please check out /extensions/ and the new NotificationType? Nick, please review everything. ...
11 years, 2 months ago (2009-10-22 20:47:29 UTC) #1
tim (not reviewing)
Oops, actually uploaded extensions_activity_monitor.h/cc now. On 2009/10/22 20:47:29, timsteele wrote: > Erik, can you please ...
11 years, 2 months ago (2009-10-22 20:52:47 UTC) #2
ncarter (slow)
Overall, nice. http://codereview.chromium.org/325001/diff/27/1031 File chrome/browser/sync/engine/syncer.cc (right): http://codereview.chromium.org/325001/diff/27/1031#newcode80 Line 80: ui_loop->DeleteSoon(FROM_HERE, extensions_monitor_); Is there any chance ...
11 years, 2 months ago (2009-10-22 23:21:15 UTC) #3
tim (not reviewing)
Addressed your comments, and have a test in progress (having some build issues atm) http://codereview.chromium.org/325001/diff/27/1031 ...
11 years, 1 month ago (2009-10-26 22:56:29 UTC) #4
tim (not reviewing)
All ready for a look now.
11 years, 1 month ago (2009-10-27 00:46:16 UTC) #5
ncarter (slow)
LGTM with the following http://codereview.chromium.org/325001/diff/10022/9046 File chrome/browser/sync/engine/process_commit_response_command.cc (right): http://codereview.chromium.org/325001/diff/10022/9046#newcode66 Line 66: void ProcessCommitResponseCommand::DoModelChangingExecuteImpl( Please give ...
11 years, 1 month ago (2009-10-27 01:25:58 UTC) #6
tim (not reviewing)
Thanks, trying to get the try server to co-operate now... http://codereview.chromium.org/325001/diff/10022/9046 File chrome/browser/sync/engine/process_commit_response_command.cc (right): http://codereview.chromium.org/325001/diff/10022/9046#newcode66 ...
11 years, 1 month ago (2009-10-27 01:38:15 UTC) #7
Erik does not do reviews
Missed this while out on vacation. The extension stuff LGTM. Have you guys started getting ...
11 years, 1 month ago (2009-10-30 18:14:59 UTC) #8
ncarter (slow)
11 years, 1 month ago (2009-10-30 18:24:37 UTC) #9
Not yet.

 - nick

On Fri, Oct 30, 2009 at 11:14 AM, Erik Kay <erikkay@chromium.org> wrote:

> Missed this while out on vacation.  The extension stuff LGTM.
>
> Have you guys started getting data from this yet?
>
> Erik
>
>
> On Thu, Oct 22, 2009 at 1:47 PM,  <tim@chromium.org> wrote:
> > Reviewers: nick, Erik Kay,
> >
> > Message:
> > Erik, can you please check out /extensions/ and the new NotificationType?
> >
> > Nick, please review everything.
> >
> > I'm in the process of adding a simple unittest for
> > extensions_activity_monitor,
> > at the same time as running some live tests with Idan.
> >
> > Description:
> > Introduce browser_sync::ExtensionsActivityMonitor to collect extensions
> API
> > usage
> > for correlation to sync commit requests.  Add ChromiumExtensionsActivity
> to
> > sync.proto
> > to allow passing this data to sync servers.
> >
> > BUG=25323
> > TEST=Performing mutations on the bookmarks model via an extension should
> > result
> > in
> > ChromiumExtensionsActivity for each such extension showing up in
> > CommitMessages.
> >
> >
> > Please review this at http://codereview.chromium.org/325001
> >
> > SVN Base: svn://chrome-svn/chrome/trunk/src/
> >
> > Affected files:
> >  M     chrome/browser/extensions/extension_bookmarks_module.h
> >  M     chrome/browser/extensions/extension_bookmarks_module.cc
> >  M     chrome/browser/extensions/extension_function.h
> >  M     chrome/browser/sync/engine/build_commit_command.h
> >  M     chrome/browser/sync/engine/build_commit_command.cc
> >  M     chrome/browser/sync/engine/syncer.h
> >  M     chrome/browser/sync/engine/syncer.cc
> >  M     chrome/browser/sync/engine/syncer_session.h
> >  M     chrome/browser/sync/protocol/sync.proto
> >  M     chrome/chrome.gyp
> >  M     chrome/common/notification_type.h
> >
> >
> >
>

Powered by Google App Engine
This is Rietveld 408576698