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

Issue 2253953003: Disable AutoImport: experiment and histogram for analysis. (Closed)

Created:
4 years, 4 months ago by gcomanici
Modified:
3 years, 11 months ago
CC:
chromium-reviews, tfarina, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

1. Add an experiment that disables AutoImport on first run (Waterfall Testing will be requested separately). The features keeps running for enterprise. 2. Create a histogram that measures the size of the histogram when AutoImport is run. This histogram should be helpful in analyzing the prospect of disabling AutoImport on first run. BUG=555550 Committed: https://crrev.com/65bfd343efd7d5e8e84452f9244920cc43371490 Cr-Commit-Position: refs/heads/master@{#415442}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Restricted experiment to autoImport from IE #

Total comments: 1

Patch Set 3 : Aggregate all data imported #

Total comments: 19

Patch Set 4 #

Total comments: 6

Patch Set 5 : Restricted to IE #

Patch Set 6 : Merge #

Total comments: 6

Patch Set 7 : Counts empty histories as well #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -10 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 2 chunks +18 lines, -5 lines 0 comments Download
M chrome/browser/importer/profile_writer.cc View 1 2 3 4 5 6 4 chunks +12 lines, -4 lines 1 comment Download
M chrome/common/chrome_features.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/utility/importer/ie_importer_win.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 1 comment Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (30 generated)
gcomanici
This issue addresses the points raised in comment #37 in BUG=555550.
4 years, 4 months ago (2016-08-18 14:19:49 UTC) #3
manzagop (departed)
This first CL is Looking great! I've put a few uninformed comments, but there's little ...
4 years, 4 months ago (2016-08-18 15:59:56 UTC) #4
gcomanici
On 2016/08/18 15:59:56, manzagop wrote: > This first CL is Looking great! > > I've ...
4 years, 4 months ago (2016-08-18 18:00:20 UTC) #5
gcomanici
https://codereview.chromium.org/2253953003/diff/1/chrome/browser/importer/profile_writer.cc File chrome/browser/importer/profile_writer.cc (right): https://codereview.chromium.org/2253953003/diff/1/chrome/browser/importer/profile_writer.cc#newcode116 chrome/browser/importer/profile_writer.cc:116: UMA_HISTOGRAM_COUNTS("Import.SizeImportedHistory.AutoImport", page.size()); On 2016/08/18 15:59:56, manzagop wrote: > Is ...
4 years, 4 months ago (2016-08-18 19:40:00 UTC) #6
manzagop (departed)
Forgot to tell you: in terms of workflow, we typically send reply to comments only ...
4 years, 4 months ago (2016-08-18 20:35:29 UTC) #7
gcomanici
https://codereview.chromium.org/2253953003/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2253953003/diff/1/chrome/browser/chrome_browser_main.cc#newcode296 chrome/browser/chrome_browser_main.cc:296: const base::Feature kFirstRunAutoImport{"FirstRunAutoImport", On 2016/08/18 15:59:56, manzagop wrote: > ...
4 years, 4 months ago (2016-08-19 16:04:31 UTC) #8
manzagop (departed)
This is looking good! You can now add a reviewer. ;) https://codereview.chromium.org/2253953003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): ...
4 years, 4 months ago (2016-08-19 19:32:49 UTC) #9
Ilya Sherman
Thanks =) https://codereview.chromium.org/2253953003/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2253953003/diff/40001/chrome/browser/chrome_browser_main.cc#newcode297 chrome/browser/chrome_browser_main.cc:297: "DisableFirstRunAutoImport", base::FEATURE_DISABLED_BY_DEFAULT}; Please define this feature in ...
4 years, 4 months ago (2016-08-22 21:10:46 UTC) #11
gcomanici
Addressed helpful comments by Ilya. Thank you! https://codereview.chromium.org/2253953003/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2253953003/diff/40001/chrome/browser/chrome_browser_main.cc#newcode297 chrome/browser/chrome_browser_main.cc:297: "DisableFirstRunAutoImport", base::FEATURE_DISABLED_BY_DEFAULT}; ...
4 years, 4 months ago (2016-08-23 16:32:00 UTC) #12
Ilya Sherman
Yay, much cleaner =) https://codereview.chromium.org/2253953003/diff/60001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2253953003/diff/60001/chrome/browser/chrome_browser_main.cc#newcode1805 chrome/browser/chrome_browser_main.cc:1805: // The feature keeps running ...
4 years, 4 months ago (2016-08-23 21:05:33 UTC) #13
gcomanici
I looked into finding the right notion for "enterprise enrolled" for all devices and there ...
4 years, 3 months ago (2016-08-26 19:02:17 UTC) #34
Ilya Sherman
LGTM, thanks.
4 years, 3 months ago (2016-08-26 21:52:10 UTC) #37
gcomanici
Asking for an Owners Review on the following files: chrome/browser/chrome_browser_main.cc chrome/browser/importer/profile_writer.cc chrome/common/chrome_features.h chrome/common/chrome_features.cc Thank you!
4 years, 3 months ago (2016-08-27 12:01:31 UTC) #39
gcomanici
Asking for an Owners Review on the following files: chrome/browser/chrome_browser_main.cc chrome/browser/importer/profile_writer.cc chrome/common/chrome_features.h chrome/common/chrome_features.cc Thank you!
4 years, 3 months ago (2016-08-27 12:01:34 UTC) #40
sky
https://codereview.chromium.org/2253953003/diff/160001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2253953003/diff/160001/chrome/browser/chrome_browser_main.cc#newcode1836 chrome/browser/chrome_browser_main.cc:1836: first_run::DoPostImportTasks(profile_, Did you investigate what this does to ensure ...
4 years, 3 months ago (2016-08-29 16:08:56 UTC) #41
gcomanici
Addressed issues raised by sky. Thank you! https://codereview.chromium.org/2253953003/diff/160001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2253953003/diff/160001/chrome/browser/chrome_browser_main.cc#newcode1836 chrome/browser/chrome_browser_main.cc:1836: first_run::DoPostImportTasks(profile_, On ...
4 years, 3 months ago (2016-08-30 18:30:31 UTC) #42
sky
LGTM https://codereview.chromium.org/2253953003/diff/180001/chrome/browser/importer/profile_writer.cc File chrome/browser/importer/profile_writer.cc (right): https://codereview.chromium.org/2253953003/diff/180001/chrome/browser/importer/profile_writer.cc#newcode109 chrome/browser/importer/profile_writer.cc:109: if (!page.empty()) use {} as the body is ...
4 years, 3 months ago (2016-08-30 20:34:38 UTC) #43
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/2253953003/180001
4 years, 3 months ago (2016-08-30 20:38:35 UTC) #46
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 3 months ago (2016-08-30 21:48:33 UTC) #48
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/65bfd343efd7d5e8e84452f9244920cc43371490 Cr-Commit-Position: refs/heads/master@{#415442}
4 years, 3 months ago (2016-08-30 21:51:37 UTC) #50
vitreb
3 years, 11 months ago (2017-01-23 13:08:03 UTC) #51
Message was sent while issue was closed.
On 2016/08/18 14:19:49, gcomanici wrote:
> This issue addresses the points raised in comment #37 in BUG=555550.

When I worked on my task I noticed that you used first_run::IsChromeFirstRun()
in this issue. There are one problem with this. User can make manual import
during first run. I mean he launched browser first time. Browser could get some
history from another browser. The user goes to settings and make manual import.
So statistics for manual import will merge with statistics about autoimport.
It's not big issue for this task because you made restriction for browser type.
But in general it's not good idea to use first_run::IsChromeFirstRun() in
profile_writer.cc.

Powered by Google App Engine
This is Rietveld 408576698