Cchenyu@chromium.orgImplements iOS device util methods.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Implements iOS device util methods. Utility methods in this package provides IOS device-specific information. BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/10818023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150324 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implements iOS device util methods. Utility methods in this package provides IOS device-specific information. BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/10818023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150324 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implements iOS device util methods. Utility methods in this package provides IOS device-specific information. BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/10818023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150324 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add APIs to protect critical tasks on iOS. On iOS, once an application goes into the background, it receives no CPU cycles until it is moved to foreground. At any time the OS may kill the application, but the application itself is never told or given any chance to clean up. Thus the time before going into the background is critical to ensure certain tasks have chance to complete. Luckily, an application may ask for a little more time when going into the background by calling certain methods that let the OS know it wants to perform some short-lived work in the background. This cl provides APIs to protect critical tasks in this case. - A class is provided to mark the beginning and end of a critical task for iOS. - A wrapper around a task is introduced that annotates that a class is "critical". Right now we have the wrapping code for iOS and it is just a no-op for other platforms. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/10835032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149422 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add APIs to protect critical tasks on iOS. On iOS, once an application goes into the background, it receives no CPU cycles until it is moved to foreground. At any time the OS may kill the application, but the application itself is never told or given any chance to clean up. Thus the time before going into the background is critical to ensure certain tasks have chance to complete. Luckily, an application may ask for a little more time when going into the background by calling certain methods that let the OS know it wants to perform some short-lived work in the background. This cl provides APIs to protect critical tasks in this case. - A class is provided to mark the beginning and end of a critical task for iOS. - A wrapper around a task is introduced that annotates that a class is "critical". Right now we have the wrapping code for iOS and it is just a no-op for other platforms. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/10835032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149422 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |