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

Issue 12313009: Add UMA statistics to the clipboard (Closed)

Created:
7 years, 10 months ago by vasilii
Modified:
7 years, 9 months ago
Reviewers:
tony, sky, battre
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, sail+watch_chromium.org, dcheng
Base URL:
http://git.chromium.org/chromium/src.git@bug-177140-fix-test
Visibility:
Public.

Description

The purpose of this patch is to collect some statistics on how often a user copies something from incognito window, closes it and tries to paste. The statistics will serve to justify or delay the whole feature described in the bug. BUG=171974 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184931

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Remove unnecessary READ_* values #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -2 lines) Patch
M content/browser/browser_context.cc View 1 1 chunk +11 lines, -2 lines 0 comments Download
M ui/base/clipboard/clipboard.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard.cc View 1 2 4 chunks +32 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard_android.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/clipboard/clipboard_aurax11.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard_chromeos.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard_gtk.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard_mac.mm View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard_win.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
vasilii
Hi, please review these changes Tony: Clipboard Scott: BrowserContext Dominic: everything
7 years, 10 months ago (2013-02-20 18:14:37 UTC) #1
sky
Wow, talk about nanny browser. UGH! browser_context LGTM https://codereview.chromium.org/12313009/diff/1/content/browser/browser_context.cc File content/browser/browser_context.cc (right): https://codereview.chromium.org/12313009/diff/1/content/browser/browser_context.cc#newcode118 content/browser/browser_context.cc:118: if ...
7 years, 10 months ago (2013-02-20 18:26:02 UTC) #2
tony
LGTM, thanks! https://codereview.chromium.org/12313009/diff/1/ui/base/clipboard/clipboard.cc File ui/base/clipboard/clipboard.cc (right): https://codereview.chromium.org/12313009/diff/1/ui/base/clipboard/clipboard.cc#newcode193 ui/base/clipboard/clipboard.cc:193: tag == SourceTag() ? WRITE_CLIPBOARD_NO_SOURCE_TAG : Did ...
7 years, 10 months ago (2013-02-20 19:25:06 UTC) #3
battre
https://codereview.chromium.org/12313009/diff/1/ui/base/clipboard/clipboard.cc File ui/base/clipboard/clipboard.cc (right): https://codereview.chromium.org/12313009/diff/1/ui/base/clipboard/clipboard.cc#newcode313 ui/base/clipboard/clipboard.cc:313: switch (action){ nit: space before { https://codereview.chromium.org/12313009/diff/1/ui/base/clipboard/clipboard.cc#newcode327 ui/base/clipboard/clipboard.cc:327: UMA_HISTOGRAM_ENUMERATION("Clipboard.Actions", ...
7 years, 10 months ago (2013-02-20 23:01:02 UTC) #4
vasilii
Tony, I need your help after landing this patch. I don't have a commiter status. ...
7 years, 10 months ago (2013-02-21 10:36:00 UTC) #5
battre
https://codereview.chromium.org/12313009/diff/12/ui/base/clipboard/clipboard.cc File ui/base/clipboard/clipboard.cc (right): https://codereview.chromium.org/12313009/diff/12/ui/base/clipboard/clipboard.cc#newcode317 ui/base/clipboard/clipboard.cc:317: MAX_TRACKED_ACTION); Should we only handle WRITE_CLIPBOARD_SOURCE_TAG here and ignore ...
7 years, 10 months ago (2013-02-21 15:54:22 UTC) #6
vasilii
https://codereview.chromium.org/12313009/diff/12/ui/base/clipboard/clipboard.cc File ui/base/clipboard/clipboard.cc (right): https://codereview.chromium.org/12313009/diff/12/ui/base/clipboard/clipboard.cc#newcode317 ui/base/clipboard/clipboard.cc:317: MAX_TRACKED_ACTION); On 2013/02/21 15:54:22, battre wrote: > Should we ...
7 years, 10 months ago (2013-02-21 18:04:03 UTC) #7
tony
On 2013/02/21 10:36:00, vasilii wrote: > Tony, I need your help after landing this patch. ...
7 years, 10 months ago (2013-02-21 18:52:58 UTC) #8
battre
I still think that we don't need to distinguish between the 3 read types. Besides ...
7 years, 10 months ago (2013-02-25 18:27:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/12313009/10001
7 years, 10 months ago (2013-02-26 10:52:52 UTC) #10
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=102740
7 years, 10 months ago (2013-02-26 12:06:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/12313009/10001
7 years, 10 months ago (2013-02-26 12:11:22 UTC) #12
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=102766
7 years, 10 months ago (2013-02-26 13:27:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/12313009/10001
7 years, 10 months ago (2013-02-26 15:07:10 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=102803
7 years, 10 months ago (2013-02-26 16:23:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/12313009/10001
7 years, 9 months ago (2013-02-27 08:56:55 UTC) #16
commit-bot: I haz the power
7 years, 9 months ago (2013-02-27 11:06:32 UTC) #17
Message was sent while issue was closed.
Change committed as 184931

Powered by Google App Engine
This is Rietveld 408576698