Nnileshagrawal@chromium.orgFix android build.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Android] Add Java observers to the NetworkChangeNotifier Adds the ability for Java classes to be alerted by the NetworkChangeNotifier instead of having to loop through the native side first. Also adds a test. BUG=136984 Review URL: https://chromiumcodereview.appspot.com/10968016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158432 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix android build. Broken after: http://codereview.chromium.org/10974012/ and http://codereview.chromium.org/10968016/ TBR=yfriedman@chromium.org BUG= Review URL: https://codereview.chromium.org/10978009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158435 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Upstream Android proxy config service. This change adds in an Android-specific system proxy provider called ProxyConfigServiceAndroid. This is created as required from C++. In turn ProxyConfigServiceAndroid creates a java object which provides the link to Android's proxy changed broadcast, as well as the functionality to read the Java system properties where the current proxy settings are located. Review URL: https://chromiumcodereview.appspot.com/10206014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140748 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 年前 | |
Add native-side unit test for Android NetworkChangeNotifier * Renames some classes to move them out of the android namespace. * Changes singleton handling in the Java NetworkChangeNotifier. The singleton is unfortunately still required for Android to turn the AutoDetector on. * Adds a native-side unit test to track that the JNI calls are correctly plumbed to alert native-side observers of connection changes. BUG=136984 Review URL: https://chromiumcodereview.appspot.com/10928193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157687 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 年前 | |
Fix race condition in NetworkChangeNotifier on Android. NetworkChangeNotifier::GetCurrentConnectionType() is called on any thread, including the network thread. Its implementation on Android calls some Java code (from any thread) which indirectly reads a primitive member variable set from the UI thread. The lack of synchronization could make NetworkChangeNotifier::GetCurrentConnectionType() return an out-dated result on multi-core devices. BUG=143433 Review URL: https://chromiumcodereview.appspot.com/10905264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157804 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix race condition in NetworkChangeNotifier on Android. NetworkChangeNotifier::GetCurrentConnectionType() is called on any thread, including the network thread. Its implementation on Android calls some Java code (from any thread) which indirectly reads a primitive member variable set from the UI thread. The lack of synchronization could make NetworkChangeNotifier::GetCurrentConnectionType() return an out-dated result on multi-core devices. BUG=143433 Review URL: https://chromiumcodereview.appspot.com/10905264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157804 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add native-side unit test for Android NetworkChangeNotifier * Renames some classes to move them out of the android namespace. * Changes singleton handling in the Java NetworkChangeNotifier. The singleton is unfortunately still required for Android to turn the AutoDetector on. * Adds a native-side unit test to track that the JNI calls are correctly plumbed to alert native-side observers of connection changes. BUG=136984 Review URL: https://chromiumcodereview.appspot.com/10928193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157687 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix race condition in NetworkChangeNotifier on Android. NetworkChangeNotifier::GetCurrentConnectionType() is called on any thread, including the network thread. Its implementation on Android calls some Java code (from any thread) which indirectly reads a primitive member variable set from the UI thread. The lack of synchronization could make NetworkChangeNotifier::GetCurrentConnectionType() return an out-dated result on multi-core devices. BUG=143433 Review URL: https://chromiumcodereview.appspot.com/10905264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157804 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix race condition in NetworkChangeNotifier on Android. NetworkChangeNotifier::GetCurrentConnectionType() is called on any thread, including the network thread. Its implementation on Android calls some Java code (from any thread) which indirectly reads a primitive member variable set from the UI thread. The lack of synchronization could make NetworkChangeNotifier::GetCurrentConnectionType() return an out-dated result on multi-core devices. BUG=143433 Review URL: https://chromiumcodereview.appspot.com/10905264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157804 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Have a clearer error message for Android's GetMimeTypeFromExtension The warning is triggered on various layout tests for WebKit, so having a clearer error showing the extension for which we can't get a mime type helps in finding the right solution. BUG= Review URL: https://chromiumcodereview.appspot.com/10911244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156369 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement net::GetNetworkList() for Android. * Implement net::GetNetworkList() by java.net.NetworkInterface through JNI. * Remove NetUtilTest.GetNetworkList from net_unittests_apk disabled list. BUG= TEST=net_unittests_apk --gtest-filter=NetUtilTest.GetNetworkList Review URL: https://chromiumcodereview.appspot.com/10905207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156257 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |