| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
JSON Schema Compiler: Add event compilation and allow multiple parameters to callbacks Compiles events to objects that look similar to this: namespace OnObjectFired { struct SomeObject { ~SomeObject(); SomeObject(); enum State { STATE_FOO, STATE_BAR, STATE_BAZ, }; static scoped_ptr<Value> CreateEnumValue(State state); State state; // Returns a new DictionaryValue representing the serialized form of this // SomeObject object. Passes ownership to caller. scoped_ptr<DictionaryValue> ToValue() const; private: DISALLOW_COPY_AND_ASSIGN(SomeObject); }; Value* Create(const SomeObject& some_object); }; BUG=133757, 135237 TEST= Review URL: https://chromiumcodereview.appspot.com/10701012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146899 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added support for multiple parameters to Extension API callbacks. BUG=135269 TEST= Review URL: https://chromiumcodereview.appspot.com/10694106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146469 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Do hostname resolution. Interesting questions to ponder: - Do we still need the DNS API? Originally this was broken out separately to make it match the low-level network APIs. But (a) it felt like needless busywork for the developer who just wanted to connect to a host, and (b) it's necessary to pass a hostname to connect() to provide a match with host permissions in the manifest. - We do NOT do the same work for socket.bind(). It doesn't quite make sense to bind to a hostname (unless the hostname is "localhost"). Using a hostname is certainly possible, but requiring an IP address for now is probably reasonable. BUG=110520 TEST=They still work when enhanced to use "localhost" appropriately. Review URL: https://chromiumcodereview.appspot.com/10537017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141101 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Do hostname resolution. Interesting questions to ponder: - Do we still need the DNS API? Originally this was broken out separately to make it match the low-level network APIs. But (a) it felt like needless busywork for the developer who just wanted to connect to a host, and (b) it's necessary to pass a hostname to connect() to provide a match with host permissions in the manifest. - We do NOT do the same work for socket.bind(). It doesn't quite make sense to bind to a hostname (unless the hostname is "localhost"). Using a hostname is certainly possible, but requiring an IP address for now is probably reasonable. BUG=110520 TEST=They still work when enhanced to use "localhost" appropriately. Review URL: https://chromiumcodereview.appspot.com/10537017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141101 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 | ||
| 13 年前 |