Jjoth@chromium.orgReduce number of temporory objects created posting tasks
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Reduce number of temporory objects created posting tasks Gives the GC a little less work todo, especially during repeatedly called async callpaths. Review URL: https://chromiumcodereview.appspot.com/10913284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158713 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Android: MediaPlayerBridge JNI cleanup. This file contains some hand-written JNI, and a few hops native<->java. This clarifies things a bit by: - adding a MediaPlayerBridge.java to avoid some hops. - moving code to MediaPlayerListener.java. Further clean up will be done by auto-generating bindings for android.media.MediaPlayer directly. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10961015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158275 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add yfriedman to several Android OWNERS files Review URL: https://chromiumcodereview.appspot.com/10829023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148555 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move base/android/path_service.cc|h to path_service_android.cc|h Gyp targets shouldn't contain source with identical basenames. Fallout from http://src.chromium.org/viewvc/chrome?view=rev&revision=149842 Review URL: https://chromiumcodereview.appspot.com/10828152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150110 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement the skeleton of an android content shell. Many TODOs here that will allow a quicker distribution of work to get the remaining pieces upstreamed. BUG=118591 TEST= Review URL: http://codereview.chromium.org/10035034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133857 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add package label to base::android::BuildInfo BUG= Review URL: https://chromiumcodereview.appspot.com/10908271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157274 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add package label to base::android::BuildInfo BUG= Review URL: https://chromiumcodereview.appspot.com/10908271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157274 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Chromium's key generation is running on a non-joinable worker thread, which requirs us to use leakable Singleton/LazyInstance object since. See crbug.com/134118 for details BUG=134118 TEST=None Review URL: https://chromiumcodereview.appspot.com/10580038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157083 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement the skeleton of an android content shell. Many TODOs here that will allow a quicker distribution of work to get the remaining pieces upstreamed. BUG=118591 TEST= Review URL: http://codereview.chromium.org/10035034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133857 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix segfault in JNIEnv function hooks for test On newer JB builds, the JNINativeInterface struct appears to be held in read-only memory so attempting to repoint individual function pointers in it causes segfault. So instead we repoint the top-level struct pointer to refer to our own copy held in read/write memory. BUG=137348 TEST=JNIAndroidTest Review URL: https://chromiumcodereview.appspot.com/10828050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148943 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Upstream ChildProcessLauncher changes for Android. Includes updates to SandboxedProcess* to support passing multiple FDs to child processes. Review URL: https://chromiumcodereview.appspot.com/10696025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144801 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Upstream ChildProcessLauncher changes for Android. Includes updates to SandboxedProcess* to support passing multiple FDs to child processes. Review URL: https://chromiumcodereview.appspot.com/10696025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144801 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Upstream Android JNI code, allowing us to use more ScopedJava references. BUG= TEST= Review URL: http://codereview.chromium.org/9358028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121284 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
[Android] Add IO thread delegate for request intercepting. This is to make it possible for a ResourceThrottle (which runs on the IO thread) to call a WebViewClient method. This requires caching the RenderViewHost<->WebContents relationship in a threadsafe way. BUG=138481 Review URL: https://codereview.chromium.org/10702083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157533 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[Android] Add IO thread delegate for request intercepting. This is to make it possible for a ResourceThrottle (which runs on the IO thread) to call a WebViewClient method. This requires caching the RenderViewHost<->WebContents relationship in a threadsafe way. BUG=138481 Review URL: https://codereview.chromium.org/10702083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157533 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement the skeleton of an android content shell. Many TODOs here that will allow a quicker distribution of work to get the remaining pieces upstreamed. BUG=118591 TEST= Review URL: http://codereview.chromium.org/10035034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133857 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix forward-declaration of RegistrationMethod in jni_registrar.h See http://codereview.chromium.org/10035034 Review URL: https://chromiumcodereview.appspot.com/10392025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136306 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make ConvertJavaToUTF functions more robusts. The ConvertJavaToUTF functions can have undefined behavior when called with null strings. This CL makes it easier to catch such problems. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10916281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156965 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
replace string16 with StringPiece16 in ConvertUTF16ToJavaString() BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10532081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141607 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Uses gyp "rules" rather than "actions" templates for the JNI generator. This allow finer grain control over what is rebuilt. Also, since we have approval over the generated header file name, it greatly simplifies both the generator and also all the gyp files as they no longer need to list the header file and keep in sync with the java file, so the process now is as simple as adding a single java file to the sources. BUG=137069 TEST=build on android Review URL: https://chromiumcodereview.appspot.com/10798010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147515 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 年前 | |
Move base/android/path_service.cc|h to path_service_android.cc|h Gyp targets shouldn't contain source with identical basenames. Fallout from http://src.chromium.org/viewvc/chrome?view=rev&revision=149842 Review URL: https://chromiumcodereview.appspot.com/10828152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150110 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move base/android/path_service.cc|h to path_service_android.cc|h Gyp targets shouldn't contain source with identical basenames. Fallout from http://src.chromium.org/viewvc/chrome?view=rev&revision=149842 Review URL: https://chromiumcodereview.appspot.com/10828152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150110 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add DIR_ANDROID_EXTERNAL_STORAGE to base/base_path.h This adds a method to get the external storage directory on Android. BUG= Review URL: https://chromiumcodereview.appspot.com/10867020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153183 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add DIR_ANDROID_EXTERNAL_STORAGE to base/base_path.h This adds a method to get the external storage directory on Android. BUG= Review URL: https://chromiumcodereview.appspot.com/10867020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153183 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add Java function to retrieve the native library dir. Upstreaming the Change with change-id: I94aa26a6e421ec8310f351a410b9083d49eb90f4 made by Ben Murdoch (benm@google.com) BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10663039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145179 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove env() getter from JavaRef<> Due to threadsafety ambiguity, it's not generally safe to call env() on a random Ref you've been passed, so this removes the temptation. The useful LocalRef optimizations are retained though, just in that sub-class. (upstreaming CL, cherrypicked cleanly) BUG= TEST= Review URL: http://codereview.chromium.org/9584014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128204 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove env() getter from JavaRef<> Due to threadsafety ambiguity, it's not generally safe to call env() on a random Ref you've been passed, so this removes the temptation. The useful LocalRef optimizations are retained though, just in that sub-class. (upstreaming CL, cherrypicked cleanly) BUG= TEST= Review URL: http://codereview.chromium.org/9584014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128204 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Fix segfault in JNIEnv function hooks for test On newer JB builds, the JNINativeInterface struct appears to be held in read-only memory so attempting to repoint individual function pointers in it causes segfault. So instead we repoint the top-level struct pointer to refer to our own copy held in read/write memory. BUG=137348 TEST=JNIAndroidTest Review URL: https://chromiumcodereview.appspot.com/10828050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148943 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |