[chromium-dev] Re: SSLClientSocket, TCPClientSocket design choices on linux

2008-09-19 Thread Darin Fisher
On Thu, Sep 18, 2008 at 2:36 PM, Wan-Teh Chang [EMAIL PROTECTED] wrote: On Wed, Sep 17, 2008 at 3:12 PM, Darin Fisher [EMAIL PROTECTED] wrote: In previous discussion with Darin, it seemed we wanted to use epoll rather than poll. This implies that we want to not use NSPR for our network

[chromium-dev] Re: Accessing the invoked method name from the JavaScript callback

2008-09-19 Thread Evan Martin
On Thu, Sep 18, 2008 at 8:20 PM, Marshall Greenblatt [EMAIL PROTECTED] wrote: It would be helpful if CppBoundClass provided a means to discover the method name that was used to invoke a JavaScript callback. This is particularly true for the fallback callback. There are a number of ways in

[chromium-dev] Re: SSLClientSocket, TCPClientSocket design choices on linux

2008-09-19 Thread Mike Pinkerton
Well, yeah I can certainly do that, but it sounded from the thread that Dan was already heading down that road, and I wasn't sure how far he'd gotten. In some quick stubbing, I also ran into windows'isms in UploadDataStream. Wasn't sure about the plan there. I wasn't sure how much of the wheel I

[chromium-dev] Re: SSLClientSocket, TCPClientSocket design choices on linux

2008-09-19 Thread Darin Fisher
I thought the plans for mac osx did not involve nss. I think we should do an implementation based on the mac ssl apis so that we get good integration w/ the keychain or what have you. right? -darin On Fri, Sep 19, 2008 at 12:40 PM, Dan Kegel [EMAIL PROTECTED]wrote: On Fri, Sep 19, 2008 at

[chromium-dev] Re: SSLClientSocket, TCPClientSocket design choices on linux

2008-09-19 Thread Dan Kegel
I had thought so, too, but on IRC there was some talk of using nss but interfacing to the native keyring somehow. So who knows. On Fri, Sep 19, 2008 at 12:58 PM, Darin Fisher [EMAIL PROTECTED] wrote: I thought the plans for mac osx did not involve nss. I think we should do an implementation

[chromium-dev] Re: Accessing the invoked method name from the JavaScript callback

2008-09-19 Thread Marshall Greenblatt
Hi Evan, On Fri, Sep 19, 2008 at 2:13 PM, Evan Martin [EMAIL PROTECTED] wrote: I believe within a given execution context it's synchronous, but for cleanliness anyway I'd prefer 2 or 3. 2 sounds more sane to me; the only reason we have a fallback callback (I believe) is for one test. I'd

[chromium-dev] How does i18n work in Chrome?

2008-09-19 Thread Wei Hu
I was going to add a new menu item in the context menu, and would like to be able to display localized strings instead of a fixed string. In particular, I'm going to support both en-US and zh-CN. The steps to add a resource string seem to be: 1. Add an XML stanza in

[chromium-dev] Re: SSLClientSocket, TCPClientSocket design choices on linux

2008-09-19 Thread tony
I was looking at UploadDataStream a while back. I think the windows'isms were just for reading a file from disk. I think the recommendation was to make a very basic File class in base or net for reading/writing to a file and use that class in UploadDataStream. We may even be able to use some

[chromium-dev] Re: How does l10n work in Chrome?

2008-09-19 Thread tony
This is mostly correct. generated_resources.grd is not generated from another file. It is the source file that we manually edit to add strings. The step that's missing is that we send generated_resources.grd to our translators and they provide us with the localized xtb files (some amount of