|
|
Chromium Code Reviews
DescriptionDelete obsolete prerender experiment code
This experiment is deprecated since 2012 and the code can now be
removed.
TBR=fgorski
Committed: https://crrev.com/43d1d1af21be4793f2a24e36f321a140138d0f3e
Cr-Commit-Position: refs/heads/master@{#434513}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Remove No_USE_GROUP too #Patch Set 3 : Fix android compilation #
Dependent Patchsets: Messages
Total messages: 35 (26 generated)
Description was changed from ========== Delete obsolete prerender experiment code ========== to ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. Only PRERENDER_MODE_EXPERIMENT_NO_USE_GROUP is kept, since we are going to implement a similar experiment and we can re-use this enum value. ==========
droger@chromium.org changed reviewers: + mattcary@chromium.org, pasko@chromium.org
https://codereview.chromium.org/2527363002/diff/1/chrome/browser/prerender/pr... File chrome/browser/prerender/prerender_manager.h (left): https://codereview.chromium.org/2527363002/diff/1/chrome/browser/prerender/pr... chrome/browser/prerender/prerender_manager.h:83: // NOTE: New values need to be appended, since they are used in histograms. The histogram no longer exist in the code, but it still exists in histogram.xml, marked as deprecated since 2012. I did not delete the histogram from histogram.xml, so that the data remains accessible from UMA queries, but we could consider deleting it maybe.
lgtm Yay for deleting code! https://codereview.chromium.org/2527363002/diff/1/chrome/browser/prerender/pr... File chrome/browser/prerender/prerender_manager.h (left): https://codereview.chromium.org/2527363002/diff/1/chrome/browser/prerender/pr... chrome/browser/prerender/prerender_manager.h:83: // NOTE: New values need to be appended, since they are used in histograms. On 2016/11/25 13:12:42, droger wrote: > The histogram no longer exist in the code, but it still exists in histogram.xml, > marked as deprecated since 2012. > I did not delete the histogram from histogram.xml, so that the data remains > accessible from UMA queries, but we could consider deleting it maybe. Does this change does mean that is will be nearly impossible to interpret the old histograms, as the enum reference is gone, or does uma save the enum value names?
https://codereview.chromium.org/2527363002/diff/1/chrome/browser/prerender/pr... File chrome/browser/prerender/prerender_manager.h (left): https://codereview.chromium.org/2527363002/diff/1/chrome/browser/prerender/pr... chrome/browser/prerender/prerender_manager.h:83: // NOTE: New values need to be appended, since they are used in histograms. On 2016/11/25 13:21:07, mattcary wrote: > On 2016/11/25 13:12:42, droger wrote: > > The histogram no longer exist in the code, but it still exists in > histogram.xml, > > marked as deprecated since 2012. > > I did not delete the histogram from histogram.xml, so that the data remains > > accessible from UMA queries, but we could consider deleting it maybe. > > Does this change does mean that is will be nearly impossible to interpret the > old histograms, as the enum reference is gone, or does uma save the enum value > names? Looking at histogram in UMA does not use the enum from C++, it has it's own enum in histograms.xml (which is basically a copy of this one). The C++ enum was only used to upload data from the client, but in this case, it is not even used at all currently since the histogram is already deleted from the C++ code.
The CQ bit was checked by droger@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. Only PRERENDER_MODE_EXPERIMENT_NO_USE_GROUP is kept, since we are going to implement a similar experiment and we can re-use this enum value. ========== to ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. ==========
The CQ bit was checked by droger@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm with the obvious fix for Android: chrome/browser/android/offline_pages/prerender_adapter.cc:29
forgot to say: yay! less code! thanks! https://codereview.chromium.org/2527363002/diff/1/chrome/browser/prerender/pr... File chrome/browser/prerender/prerender_manager.h (left): https://codereview.chromium.org/2527363002/diff/1/chrome/browser/prerender/pr... chrome/browser/prerender/prerender_manager.h:83: // NOTE: New values need to be appended, since they are used in histograms. On 2016/11/25 13:44:36, droger wrote: > On 2016/11/25 13:21:07, mattcary wrote: > > On 2016/11/25 13:12:42, droger wrote: > > > The histogram no longer exist in the code, but it still exists in > > histogram.xml, > > > marked as deprecated since 2012. > > > I did not delete the histogram from histogram.xml, so that the data remains > > > accessible from UMA queries, but we could consider deleting it maybe. > > > > Does this change does mean that is will be nearly impossible to interpret the > > old histograms, as the enum reference is gone, or does uma save the enum > value > > names? > > Looking at histogram in UMA does not use the enum from C++, it has it's own enum > in histograms.xml (which is basically a copy of this one). > > The C++ enum was only used to upload data from the client, but in this case, it > is not even used at all currently since the histogram is already deleted from > the C++ code. yeah, UMA dashbnoard does not know about enums in C++, it renders from the uploaded ints/buckets and histograms.xml.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by droger@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by droger@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by droger@chromium.org to run a CQ dry run
Patchset #3 (id:40001) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #3 (id:60001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
droger@chromium.org changed reviewers: + fgorski@chromium.org
TBR fgorski for chrome/browser/android/offline_pages/prerender_adapter.cc (simple function rename without behavior change).
Description was changed from ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. ========== to ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. TBR=fgorski ==========
The CQ bit was checked by droger@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mattcary@chromium.org, pasko@chromium.org Link to the patchset: https://codereview.chromium.org/2527363002/#ps80001 (title: "Fix android compilation")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1480089438257180,
"parent_rev": "acadb3bd5efea819b0205fcee54f75d8b53c3b7f", "commit_rev":
"5ebbaac30f261469f3b2475f8457e762b3363eae"}
Message was sent while issue was closed.
Description was changed from ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. TBR=fgorski ========== to ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. TBR=fgorski ==========
Message was sent while issue was closed.
Committed patchset #3 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. TBR=fgorski ========== to ========== Delete obsolete prerender experiment code This experiment is deprecated since 2012 and the code can now be removed. TBR=fgorski Committed: https://crrev.com/43d1d1af21be4793f2a24e36f321a140138d0f3e Cr-Commit-Position: refs/heads/master@{#434513} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/43d1d1af21be4793f2a24e36f321a140138d0f3e Cr-Commit-Position: refs/heads/master@{#434513} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
