Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Issue 19520007: Migrate users from "WebKit" flag to "Web Platform". (Closed)

Created:
7 years, 5 months ago by Mike West
Modified:
7 years, 5 months ago
CC:
chromium-reviews, paulirish, ericbidelman, Max Heinritz, komoroske
Visibility:
Public.

Description

Migrate users from "WebKit" flag to "Web Platform". We changed the name of the "Experimental WebKit Features" flag, and changed the actual flag at the same time[1]. I decided at the time to simply throw away the old flag; I've been reliably informed that developers aren't particularly thrilled with that decision. "Why have my experimental features stopped working?" they ask. "Didn't you read my G+ post?" isn't a particularly helpful answer, especially since most people (unbelievably!) don't follow me on The Internets™. This patch hacks a migration system into about:flags, which I hope we never ever have to use again, and can safely throw away after a release cycle or two. [1]: https://codereview.chromium.org/14940009/ [email protected],[email protected] Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212794

Patch Set 1 #

Total comments: 5

Patch Set 2 : less ugly. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -2 lines) Patch
M chrome/browser/about_flags.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 6 chunks +37 lines, -2 lines 2 comments Download
M chrome/browser/about_flags_unittest.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mike West
pretty please?
7 years, 5 months ago (2013-07-18 14:34:29 UTC) #1
jochen (gone - plz use gerrit)
https://codereview.chromium.org/19520007/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/19520007/diff/1/chrome/browser/about_flags.cc#newcode311 chrome/browser/about_flags.cc:311: why the empty line? https://codereview.chromium.org/19520007/diff/1/chrome/browser/about_flags.cc#newcode1628 chrome/browser/about_flags.cc:1628: const Experiment kDeprecatedExperiments[] ...
7 years, 5 months ago (2013-07-18 14:51:57 UTC) #2
Mike West
Hi Jochen, Nico, Can you take a quick look at this fairly hacky patch? /cc ...
7 years, 5 months ago (2013-07-19 13:46:44 UTC) #3
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/19520007/diff/5001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/19520007/diff/5001/chrome/browser/about_flags.cc#newcode1722 chrome/browser/about_flags.cc:1722: experimentList->erase(experimentList->find(migrations[i].from)); nit. if you're using find() anyway, you ...
7 years, 5 months ago (2013-07-19 13:50:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/19520007/5001
7 years, 5 months ago (2013-07-20 16:26:12 UTC) #5
commit-bot: I haz the power
Change committed as 212794
7 years, 5 months ago (2013-07-20 18:14:42 UTC) #6
Nico
7 years, 5 months ago (2013-07-20 18:35:23 UTC) #7
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/19520007/diff/5001/chrome/browser/abou...
File chrome/browser/about_flags.cc (right):

https://chromiumcodereview.appspot.com/19520007/diff/5001/chrome/browser/abou...
chrome/browser/about_flags.cc:1642: {"enable-experimental-webkit-features",
If you wanted to not have users to reset this, couldn't you just've kept
"enable-experimental-webkit-features" as the old flag name? The flag name isn't
exposed for anything as far as I know.

Powered by Google App Engine
This is Rietveld 408576698