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

Issue 137893002: Warm up EnumSystemLocalesEx() for Flash Player. (Closed)

Created:
6 years, 11 months ago by Ye Liu
Modified:
6 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Warm up EnumSystemLocalesEx() for Flash Player. Because EnumSystemLocalesEx() is blocked by sandbox on Vista and Win8 for its accessing registry. R=piman@chromium.org, jschuh@google.com, yzshen@google.com BUG=335438

Patch Set 1 #

Patch Set 2 : Use GetModuleHandleW/GetProcAddress to warm up the API as Windows XP doesn't have it. #

Patch Set 3 : Fix Lint Errors #

Total comments: 18

Patch Set 4 : Fix issues per commends. Add warm-up for XP. #

Patch Set 5 : Fix lint error. #

Total comments: 1

Patch Set 6 : Per comment, combine the warm-ups. #

Total comments: 2

Patch Set 7 : Shrink to normal call. Justin you made the code look damn cool! Thanks! #

Total comments: 3

Patch Set 8 : Fix format issues per yszhen1's comments. #

Patch Set 9 : Fix format issues per yszhen1's comments. #

Total comments: 1

Patch Set 10 : Put a trailing '.' at the end of comment. #

Patch Set 11 : Replace the email in AUTHOR file. #

Patch Set 12 : Rebase the patch for AUTHOR file. #

Patch Set 13 : Update AUTHOR file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +14 lines, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (0 generated)
Ye Liu
6 years, 11 months ago (2014-01-14 06:39:51 UTC) #1
jschuh
I noticed some minor style issues. Also, I wanted to verify that this works for ...
6 years, 11 months ago (2014-01-15 00:15:45 UTC) #2
Ye Liu
On 2014/01/15 00:15:45, Justin Schuh wrote: > I noticed some minor style issues. Also, I ...
6 years, 11 months ago (2014-01-15 05:12:06 UTC) #3
Ye Liu
Hi I just fixed the issues per comments. Also add a warm-up for XP. Please ...
6 years, 11 months ago (2014-01-15 07:59:54 UTC) #4
jschuh
https://codereview.chromium.org/137893002/diff/210001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/137893002/diff/210001/content/ppapi_plugin/ppapi_thread.cc#newcode317 content/ppapi_plugin/ppapi_thread.cc:317: GetProcAddress(hKernel32Dll, "EnumSystemLocalesW"); EnumSystemLocales is supported in Win2k+, so let ...
6 years, 11 months ago (2014-01-15 21:16:01 UTC) #5
Ye Liu
On 2014/01/15 21:16:01, Justin Schuh wrote: > https://codereview.chromium.org/137893002/diff/210001/content/ppapi_plugin/ppapi_thread.cc > File content/ppapi_plugin/ppapi_thread.cc (right): > > https://codereview.chromium.org/137893002/diff/210001/content/ppapi_plugin/ppapi_thread.cc#newcode317 ...
6 years, 11 months ago (2014-01-16 01:55:45 UTC) #6
jschuh
On 2014/01/16 01:55:45, Ye Liu wrote: > On 2014/01/15 21:16:01, Justin Schuh wrote: > > ...
6 years, 11 months ago (2014-01-16 04:44:05 UTC) #7
Ye Liu
On 2014/01/16 04:44:05, Justin Schuh wrote: > On 2014/01/16 01:55:45, Ye Liu wrote: > > ...
6 years, 11 months ago (2014-01-16 04:56:02 UTC) #8
Ye Liu
On 2014/01/16 04:56:02, Ye Liu wrote: > On 2014/01/16 04:44:05, Justin Schuh wrote: > > ...
6 years, 11 months ago (2014-01-16 05:21:03 UTC) #9
jschuh
https://codereview.chromium.org/137893002/diff/290001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/137893002/diff/290001/content/ppapi_plugin/ppapi_thread.cc#newcode55 content/ppapi_plugin/ppapi_thread.cc:55: // Used by EnumSystemLocales for warming up Add a ...
6 years, 11 months ago (2014-01-16 07:54:34 UTC) #10
Ye Liu
On 2014/01/16 07:54:34, Justin Schuh wrote: > https://codereview.chromium.org/137893002/diff/290001/content/ppapi_plugin/ppapi_thread.cc > File content/ppapi_plugin/ppapi_thread.cc (right): > > https://codereview.chromium.org/137893002/diff/290001/content/ppapi_plugin/ppapi_thread.cc#newcode55 ...
6 years, 11 months ago (2014-01-16 09:08:22 UTC) #11
yzshen1
https://codereview.chromium.org/137893002/diff/200002/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/137893002/diff/200002/content/ppapi_plugin/ppapi_thread.cc#newcode55 content/ppapi_plugin/ppapi_thread.cc:55: // Used by EnumSystemLocales for warming up nit: - ...
6 years, 11 months ago (2014-01-16 17:26:28 UTC) #12
jschuh
Also, please create a bug at crbug.com and add the number to the BUG= line ...
6 years, 11 months ago (2014-01-16 18:06:16 UTC) #13
Ye Liu
On 2014/01/16 17:26:28, yzshen1 wrote: > https://codereview.chromium.org/137893002/diff/200002/content/ppapi_plugin/ppapi_thread.cc > File content/ppapi_plugin/ppapi_thread.cc (right): > > https://codereview.chromium.org/137893002/diff/200002/content/ppapi_plugin/ppapi_thread.cc#newcode55 > ...
6 years, 11 months ago (2014-01-17 02:40:48 UTC) #14
Ye Liu
On 2014/01/16 18:06:16, Justin Schuh wrote: > Also, please create a bug at http://crbug.com and ...
6 years, 11 months ago (2014-01-17 04:15:02 UTC) #15
jschuh
lgtm from me. once one of the owners signs off we can click the commit ...
6 years, 11 months ago (2014-01-17 16:56:13 UTC) #16
yzshen1
LGTM Please fix the following nit. Thanks! https://codereview.chromium.org/137893002/diff/410001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/137893002/diff/410001/content/ppapi_plugin/ppapi_thread.cc#newcode56 content/ppapi_plugin/ppapi_thread.cc:56: // Used ...
6 years, 11 months ago (2014-01-17 17:36:10 UTC) #17
Ye Liu
On 2014/01/17 17:36:10, yzshen1 wrote: > LGTM > > Please fix the following nit. Thanks! ...
6 years, 11 months ago (2014-01-20 02:16:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cbakgly@gmail.com/137893002/480001
6 years, 11 months ago (2014-01-24 21:36:06 UTC) #19
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=46399
6 years, 11 months ago (2014-01-24 21:57:23 UTC) #20
jschuh
@piman - This still needs you to sign off as an owner.
6 years, 11 months ago (2014-01-24 22:00:00 UTC) #21
piman
lgtm
6 years, 11 months ago (2014-01-24 22:04:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cbakgly@gmail.com/137893002/480001
6 years, 11 months ago (2014-01-24 22:29:19 UTC) #23
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=46417
6 years, 11 months ago (2014-01-24 22:51:41 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cbakgly@gmail.com/137893002/480001
6 years, 10 months ago (2014-01-28 02:38:28 UTC) #25
commit-bot: I haz the power
Failed to apply patch for AUTHORS: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-01-28 02:38:30 UTC) #26
Ye Liu
On 2014/01/24 22:51:41, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 10 months ago (2014-01-28 02:48:01 UTC) #27
yzshen1
On 2014/01/28 02:48:01, Ye Liu wrote: > On 2014/01/24 22:51:41, I haz the power (commit-bot) ...
6 years, 10 months ago (2014-01-29 17:17:39 UTC) #28
Ye Liu
On 2014/01/29 17:17:39, yzshen1 wrote: > On 2014/01/28 02:48:01, Ye Liu wrote: > > On ...
6 years, 10 months ago (2014-01-30 03:54:21 UTC) #29
yzshen1
On 2014/01/30 03:54:21, Ye Liu wrote: > On 2014/01/29 17:17:39, yzshen1 wrote: > > On ...
6 years, 10 months ago (2014-01-30 19:22:48 UTC) #30
Ye Liu
On 2014/01/30 19:22:48, yzshen1 wrote: > On 2014/01/30 03:54:21, Ye Liu wrote: > > On ...
6 years, 10 months ago (2014-01-31 13:34:23 UTC) #31
yzshen1
The CQ bit was checked by yzshen@chromium.org
6 years, 10 months ago (2014-02-12 05:53:27 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cbakgly@gmail.com/137893002/730001
6 years, 10 months ago (2014-02-12 05:54:45 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-12 05:54:48 UTC) #34
commit-bot: I haz the power
Failed to apply patch for AUTHORS: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-12 05:54:49 UTC) #35
yzshen1
You still haven't rebased to the lastest version. You need to sync past the following ...
6 years, 10 months ago (2014-02-12 17:35:34 UTC) #36
Ye Liu
The CQ bit was checked by cbakgly@gmail.com
6 years, 10 months ago (2014-02-13 04:17:03 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cbakgly@gmail.com/137893002/880001
6 years, 10 months ago (2014-02-13 04:18:08 UTC) #38
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-13 04:18:15 UTC) #39
commit-bot: I haz the power
Failed to apply patch for AUTHORS: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-13 04:18:18 UTC) #40
yzshen1
6 years, 10 months ago (2014-02-13 07:05:34 UTC) #41
I have landed the change in https://codereview.chromium.org/161263002/

We can close this issue now.

Powered by Google App Engine
This is Rietveld 408576698