Граф коммитов

85 Коммитов

Автор SHA1 Сообщение Дата
bratell@opera.com 9c86f68130 Graphical version of the run_binary_size_analysis tool.
The binary_size tool suit includes tools that are useful when trying
to reduce binary size of a program, and chromium related programs
in particular.

This commit (mostly written by andrewhayden@chromium.org for 
Android but ported to generic Linux by bratell@opera.com) adds 
a graphical HTML based output for run_binary_size_analysis.py.
In the generated web page it is possible to dynamically and 
graphically browse the binary and each part of the source tree 
is given a size that reflects its contribution to the binary size.

The run_binary_size_analysis tool is run on compiled binaries 
with symbols and uses nm and addr2line to map parts of the
binary to source code. Since addr2line is slow the operation to map 
binary symbols to source files takes a while but the output is 
well worth it when shrinking programs. See its usage information
for details about how to run it.

This commit also includes the tool explain_binary_size_delta.py 
(textual output) which can be used to understand why a binary 
changed size and in what way. See its usage information for 
details about how to run it.

There are many further improvements possible to to do on these tools.
Search the bug database for Label:Tools-BinarySize for suggestions.

BUG=339059
R=primiano@chromium.org,andrewhayden@chromium.org

Review URL: https://codereview.chromium.org/258633003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272255 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 18:49:40 +00:00
vandebo@chromium.org 2782093ea1 Fix a findbugs warning - check file.delete return value.
BUG=NONE

Review URL: https://codereview.chromium.org/269603002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 01:35:54 +00:00
vandebo@chromium.org 633c81ea0f Fix a findbugs warning - check file.mkdirs return value.
BUG=NONE

Review URL: https://codereview.chromium.org/262743003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@268018 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-03 02:50:30 +00:00
vandebo@chromium.org 99e75a8366 Fix findbugs warnings - make constants final.
BUG=NONE

Review URL: https://codereview.chromium.org/268573002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@268012 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-03 02:33:12 +00:00
thestig@chromium.org 702fbffe83 Fix a findbugs error in Addr2LineWorkerPool.java.
Review URL: https://codereview.chromium.org/268533002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@267664 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-01 23:36:55 +00:00
tommycli@chromium.org 89a2ad9d43 Fix findbugs warning - narrow synchronization scope in NmDumper.
BUG=NONE

Review URL: https://codereview.chromium.org/266633003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@267601 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-01 19:00:51 +00:00
thestig@chromium.org bab1fe31be Tweak the FindMatchRectsDetails code to make findbugs happy.
Review URL: https://codereview.chromium.org/267653002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@267463 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-01 06:23:30 +00:00
thestig@chromium.org 5a0d5efc4f Fix a findbugs error in content/browser/ViewportTest.java.
Review URL: https://codereview.chromium.org/261633006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@267445 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-01 05:26:44 +00:00
vandebo@chromium.org 2f1e6760c7 Fix a findbugs error - switch without default statement.
BUG=NONE
R=michaelbai@chromium.org

Review URL: https://codereview.chromium.org/264583009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@267403 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-01 00:48:42 +00:00
jdduke@chromium.org 7058882aac [Android] Remove the fork of GestureDetector.java
This class is no longer in use, having been replaced by the new native
gesture detection pipeline.

BUG=332418

Review URL: https://codereview.chromium.org/197213029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258356 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 18:27:09 +00:00
wangxianzhu@chromium.org fecb75e157 Move atrace enabling code from Chrome to WebView
According to discussions, we decided to disable atrace for Chrome
because of the inaccuracy of timing in the trace due to the overhead
of atrace.

As WebView still needs atrace, move the atrace enabling code into
AwBrowserProcess.

BUG=trace-viewer:454 (https://code.google.com/p/trace-viewer/issues/detail?id=454)

Review URL: https://codereview.chromium.org/183183011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256186 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-11 10:57:38 +00:00
aurimas@chromium.org 927c7cd254 Rename ChromiumTestShell classes to ChromeShell.
Renaming ChromiumTestShell* classes to ChromeShell*.
This CL depends on https://chromiumcodereview.appspot.com/184493006/

BUG=348137
NOTRY=true
TBR=pfeldman,tonyg,craigdh

Review URL: https://codereview.chromium.org/184993005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255073 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-05 17:37:50 +00:00
ppi@chromium.org 87a0a8c933 Adapt the Java LoadUrlParams for the Chrome embedder.
This patch modifies the Java holder for url load parameters already used
in WebView so that it can be used in Chrome for Android as well:
- adds a getter for post data
- makes the url mutable like the other fields (to allow for
  sanitizations while passing the struct down the stack - maybe that's
  not ideal but that's what we do)
- adds a field for verbatim extra headers string

BUG=346290
R=tedchoc@chromium.org

Review URL: https://codereview.chromium.org/183563002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@254134 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-28 15:43:48 +00:00
aberent@chromium.org 0a747f0761 Remove shim classes etc. that were needed to move Android Loader
Also those needed to move the Trace classes to base, and tidy
up the other TODOs left over from these moves.

Depends on:
https://codereview.chromium.org/141223002 and
https://chrome-internal-review.googlesource.com/#/c/153179

BUG=225101

Review URL: https://codereview.chromium.org/152663002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 19:59:20 +00:00
thestig@chromium.org a833cec06e Findbugs: Fix public static fields in AwResource.java.
Review URL: https://codereview.chromium.org/149113003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250233 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-10 23:13:50 +00:00
aberent@chromium.org d9bb84216f Move the android library loader from content to base
The android library loader has no logical connection with content. Mojo
shell, which doesn't depend on content, wants to use it. This CL
moves it from content to base.

BUG=225101
NOTRY=true

Review URL: https://codereview.chromium.org/141223002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250113 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-10 16:19:22 +00:00
thestig@chromium.org 67693742d8 [Android WebView] Add AwResource.setResources() and setErrorPageResources().
This is part 1 of a two-sided patch to get rid of public static fields
in AwResource.java.

R=mnaganov@chromium.org

Review URL: https://codereview.chromium.org/155653003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249505 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-06 21:29:07 +00:00
thestig@chromium.org b6fa9e339b FindBugs: Rename org.chromium.base.test.util.ScalableTimeout.ScaleTimeout to scaleTimeout.
NOTRY=true

Review URL: https://codereview.chromium.org/143803017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249177 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-06 00:35:12 +00:00
thestig@chromium.org 0dae7a0ef2 FindBugs: Fix a synchronized method warning in HttpAuthDatabase.java.
Review URL: https://codereview.chromium.org/143663004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248914 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 08:14:20 +00:00
jdduke@chromium.org b486fd8a01 [Android] Perform eager gesture recognition on MotionEvents
ContentViewGestureHandler conditionally forwards MotionEvent's to the Android
gesture detection pipeline, depending on the current touch stream handling
disposition.  However, this approach is fragile, as the detection pipeline
expects a consistent touch stream for each sequence.  Instead, forward all
MotionEvent's immediately for gesture detection, conditionally dispatching the
generated gestures depending on the touch stream ack dispositions.

BUG=295075,334040,327444,240550,234516
NOTRY=true

Review URL: https://codereview.chromium.org/120513005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248066 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-30 22:48:51 +00:00
thakis@chromium.org e86c3fb347 Suppress 4 findbugs issues in tooling-only code.
BUG=338966
TBR=andrehayden@chromium.org

Review URL: https://codereview.chromium.org/146833022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@247610 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-29 03:42:49 +00:00
davidben@chromium.org 14e8772551 Export verified_cert and public_key_hashes on Android.
On API level 17 and up, X509TrustManager can export the verified chain. Use it
to populate some of the fields in CertVerifyResult. Also correctly populate
is_issued_by_known_root and enable intranet host checking.

Add a test to make sure non-standard roots get flagged as such. If the APIs
are not available, is_issued_by_known_root is always false.

BUG=116838,147945
TEST=CertVerifyProcTest.PublicKeyHashes
     CertVerifyProcTest.VerifyReturnChainBasic
     CertVerifyProcTest.VerifyReturnChainFiltersUnrelatedCerts
     CertVerifyProcTest.VerifyReturnChainProperlyOrdered
     CertVerifyProcTest.IntranetHostsRejected
     CertVerifyProcTest.IsIssuedByKnownRootIgnoresTestRoots
     CertVerifyProcTest.ExtraneousMD5RootCert
     CertVerifyProcTest.NameConstraintsFailure

Review URL: https://codereview.chromium.org/108653013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245649 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 22:52:17 +00:00
aurimas@chromium.org 2953bef27c Rolling findbugs from 2.0.1 to 2.0.3
BUG=None
NOTRY=true

Review URL: https://codereview.chromium.org/140383002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245294 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-16 19:53:16 +00:00
henrika@chromium.org 0b8040cc69 Reland "Refactor audio manager for Android to avoid heavy tasks at startup"
Original CL: https://codereview.chromium.org/110173003/.

Refactor audio manager for Android to avoid heavy tasks at startup.

Main goal of this CL is to avoid all demanding tasks (e.g. initiate audio routing, detect BT devices etc.) at Chrome startup.

All we do now is to populate the list of available devices. BT support has been removed but will be added in an upcoming CL.

NOTRY=True
TBR=bulach, tommi
BUG=324464
TEST=media_unittests --gtest-filter=AudioAndroid*

Review URL: https://codereview.chromium.org/117073002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@241247 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-17 09:47:23 +00:00
szym@chromium.org 7973efdd58 Revert 240887 "Revert 240885 "Revert 240883 "Refactor audio mana..."
The introduced test media_unittests: VideoCaptureDeviceTest.GetDeviceSupportedFormats
crashes on main waterfall [FATAL:jni_android.cc(216)] Check failed: false. 

> Revert 240885 "Revert 240883 "Refactor audio manager for Android..."
> 
> > Revert 240883 "Refactor audio manager for Android to avoid heavy..."
> > 
> > > Refactor audio manager for Android to avoid heavy tasks at startup.
> > > 
> > > Main goal of this CL is to avoid all demanding tasks (e.g. initiate audio routing, detect BT devices etc.) at Chrome startup.
> > > 
> > > All we do now is to populate the list of available devices. BT support has been removed but will be added in an upcoming CL. Detection will not require BLUETOOTH permission.
> > > 
> > > BUG=324464
> > > TEST=media_unittests --gtest-filter=AudioAndroid*
> > > R=bulach@chromium.org, tommi@chromium.org
> > > 
> > > Review URL: https://codereview.chromium.org/110173003
> > 
> > TBR=henrika@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/105893005
> 
> TBR=henrika@chromium.org
> 
> Review URL: https://codereview.chromium.org/102613007

TBR=henrika@chromium.org

Review URL: https://codereview.chromium.org/103253005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-16 17:57:10 +00:00
henrika@chromium.org 178cff867a Revert 240885 "Revert 240883 "Refactor audio manager for Android..."
> Revert 240883 "Refactor audio manager for Android to avoid heavy..."
> 
> > Refactor audio manager for Android to avoid heavy tasks at startup.
> > 
> > Main goal of this CL is to avoid all demanding tasks (e.g. initiate audio routing, detect BT devices etc.) at Chrome startup.
> > 
> > All we do now is to populate the list of available devices. BT support has been removed but will be added in an upcoming CL. Detection will not require BLUETOOTH permission.
> > 
> > BUG=324464
> > TEST=media_unittests --gtest-filter=AudioAndroid*
> > R=bulach@chromium.org, tommi@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/110173003
> 
> TBR=henrika@chromium.org
> 
> Review URL: https://codereview.chromium.org/105893005

TBR=henrika@chromium.org

Review URL: https://codereview.chromium.org/102613007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240887 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-16 14:05:09 +00:00
henrika@chromium.org 0a2c776a7e Revert 240883 "Refactor audio manager for Android to avoid heavy..."
> Refactor audio manager for Android to avoid heavy tasks at startup.
> 
> Main goal of this CL is to avoid all demanding tasks (e.g. initiate audio routing, detect BT devices etc.) at Chrome startup.
> 
> All we do now is to populate the list of available devices. BT support has been removed but will be added in an upcoming CL. Detection will not require BLUETOOTH permission.
> 
> BUG=324464
> TEST=media_unittests --gtest-filter=AudioAndroid*
> R=bulach@chromium.org, tommi@chromium.org
> 
> Review URL: https://codereview.chromium.org/110173003

TBR=henrika@chromium.org

Review URL: https://codereview.chromium.org/105893005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240885 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-16 14:00:02 +00:00
henrika@chromium.org 404257aec3 Refactor audio manager for Android to avoid heavy tasks at startup.
Main goal of this CL is to avoid all demanding tasks (e.g. initiate audio routing, detect BT devices etc.) at Chrome startup.

All we do now is to populate the list of available devices. BT support has been removed but will be added in an upcoming CL. Detection will not require BLUETOOTH permission.

BUG=324464
TEST=media_unittests --gtest-filter=AudioAndroid*
R=bulach@chromium.org, tommi@chromium.org

Review URL: https://codereview.chromium.org/110173003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240883 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-16 13:54:01 +00:00
aurimas@chromium.org c35fc9540b Fixing Java style errors in net/android/
BUG=320711
NOTRY=true

Review URL: https://codereview.chromium.org/112163002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@240132 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-11 18:30:11 +00:00
wjia@chromium.org 253aaefc8e Mute audio when volume is zero on Android.
We are using Communication mode for audio backend on Android. By design, the platform voice
volume never goes to zero. This patch uses ContentObserver to listen to volume change. When
volume is set to zero, AudioManagerAndroid will mute all its output streams.

BUG=263399
R=henrika@chromium.org, qinmin@chromium.org, tommi@chromium.org

Review URL: https://codereview.chromium.org/93233003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239007 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-05 19:09:18 +00:00
aberent@chromium.org 6af865d391 Check library version and handle library load errors
This CL modifies the build to incorporate the expected C++ library version
in the Java code. This is then checked when the library is loaded, to
make sure that the C++ and Java builds match.

This CL also implements error handling when library loads fail or the
loaded version doesn't match the expected version.

BUG=311644

Review URL: https://codereview.chromium.org/59533009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@237779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-28 14:28:52 +00:00
jdduke@chromium.org b592006134 [Android] Fix missing onSingleTapConfirmed calls in GestureDetector
Eliminate the short period of time between the tap timeout and long
press causing onSingleTapConfirmed not to be dispatched when apps
expect.

Note: This is a cherry-pick of the upstream Android fix for b/8124095.

BUG=315124
NOTRY=true

Review URL: https://codereview.chromium.org/59173006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233192 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-06 02:17:30 +00:00
mkosiba@chromium.org bd8eb2425b [android_webview] Fix findbugs warnings.
Refactor the code a bit and don't ignore return value of delete().

BUG=230209
TEST=AndroidWebViewTest

Review URL: https://codereview.chromium.org/52723009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-02 00:17:17 +00:00
gkanwar@chromium.org 3f1a145ca7 [Android] Adds CleanupReferenceTest to findbugs_exclude.xml
NOTRY=True
BUG=277682

Review URL: https://chromiumcodereview.appspot.com/22929035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@219062 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-22 19:09:00 +00:00
joth@chromium.org 17e259e520 [Android] Expose showFileChooser in AwContentsClient interface
Adapts the WebContentsDelegate::RunFileChooser into a java embedding
callback.

BUG=Internal b/6930981
TBR=ben@chromium.org

Review URL: https://chromiumcodereview.appspot.com/20666003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216811 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-10 07:05:47 +00:00
michaelbai@chromium.org 5fd094a7ab Main changes are
- Rename ContentVideoViewContextDelegate to ContentVideoViewClient, instead of having the getContext() method, passing the context to ContentVideoView when it is created.

- Add getContentVideoViewClient method in ContentViewClient, so it will be created when it actually used.



BUG=http://b/8315237

Review URL: https://chromiumcodereview.appspot.com/13669003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@204353 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-05 23:26:35 +00:00
mnaganov@chromium.org f0edaf1bf4 [Android] Remove "Chrome" and "View" personalities
The content layer code is now by default operates in the "Chrome" mode.
All WebView customizations are applied in the android_webview layer.

BUG=b/8296421
R=benm@chromium.org, bulach@chromium.org, jochen@chromium.org, joth@chromium.org

Review URL: https://codereview.chromium.org/14821004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198877 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-08 11:59:57 +00:00
mnaganov@chromium.org fc9ab97f55 [Android] Move zoom controls management into WebView
Chrome for Android doesn't use zoom controls, so it makes sense
to move all the related code into android_webview.

However, as visibility of zoom controls is controlled from the
internals of ContentView*, we are providing hooks through a new
delegate interface.

BUG=b/8296421
R=benm@chromium.org, joth@chromium.org

Review URL: https://codereview.chromium.org/14840011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198862 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-08 07:56:16 +00:00
mnaganov@chromium.org 641b0ec99c [Android WebView] Move the most of WebSettings into AwSettings
Historically, WebSettings management is used to be in the ContentSettings class,
while only WebView actually needs it. Chrome for Android is only interested in
the value of the "JavaScript enabled" setting.

This change leaves zoom-related settings intact, as moving them will require
decoupling of the ZoomManager class from the ContentView* family of classes,
which deserves a separate change.

BUG=b/8296421

Review URL: https://chromiumcodereview.appspot.com/14271024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@196399 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-25 15:10:05 +00:00
aurimas@chromium.org 0bb332df6a [Android] Moving input related files to a separate input/ directory.
Cleaning up the content/public/android/java/src/.. ../content/browser/
directory by moving input related classes to a separate directory.

BUG=230059
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14100003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@193760 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-11 21:38:49 +00:00
hongbo.min@intel.com 8286716a26 Split the power monitoring feature from SystemMonitor
The SystemMonitor is a mixed monitor which not only monitors
the power state changes but also the devices changes. This
patch is to separate the power monitor from SystemMonitor
as a new class PowerMonitor which is dedicated to monitor
power state.

The next step is to seek a opportunity to refactor SystemMonitor
as something like DeviceMonitor.

BUG=149059
TEST=base_unittests --gtest_filter=PowerMonitorTest.*

Review URL: https://chromiumcodereview.appspot.com/10959020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@192114 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-03 19:06:51 +00:00
cjhopman@chromium.org 62e46d65b0 Make findbugs ignore NativeLibraries.java
BUG=158821

Review URL: https://codereview.chromium.org/13133018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@191704 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-01 23:42:19 +00:00
joth@chromium.org 825c074658 - switch CleanupReference to have a reaper thread rather than sacrificial object, as the
old design was causing many spurious messages to be sent to the UI thread.
- CleanupReference now triggers when GC sees the object has become weakly rather than
phantom reachable, as this can occur earlier but if sufficient for knowing we must
perform native cleanup.
- added some basic GC cleanup tests in CleanupReferenceTest.

Review URL: https://chromiumcodereview.appspot.com/12658010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@190110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-23 23:19:17 +00:00
kjyoun@google.com 1b211f27ba Since some child processes, such as PPAPI_BROKER plugin, might not run in sandbox, Sandboxed process is renamed to Child process
BUG=178382


Review URL: https://chromiumcodereview.appspot.com/12321131

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-19 01:43:36 +00:00
phajdan.jr@chromium.org ca70328f04 [android] remove obsolete findbugs suppressions
According to trybots they were needed. Not sure what's going on.

TBR=eroman

BUG=70818

Review URL: https://codereview.chromium.org/12918017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188830 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-18 21:29:17 +00:00
phajdan.jr@chromium.org f2b93a0ea3 net: move test files out of net/base
BUG=70818

Review URL: https://codereview.chromium.org/12811011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188822 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-18 21:14:14 +00:00
yfriedman@chromium.org 6b8c28bba3 [Android] Exclude findbugs false-positives in the javabridge.
Findbugs can't trace the reflection code which is accessing these methods/members.

NOTRY=true


Review URL: https://chromiumcodereview.appspot.com/12850007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-18 16:15:29 +00:00
yfriedman@chromium.org a4cae92521 [Android] Remove unused function.
I just removed the last caller of this functoin (downstream). It uses reflection
and is unreliable. Tests shouldn't be written in this manner.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/12717011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-18 15:45:37 +00:00
yfriedman@chromium.org cbfecc667a Fix several findbugs issues
This addresses the following classes of findbugs issues:
- ST, MS, SS, DLS, SIC

Also sprinkled in are eclipse auto-corrects of final, @Override and
import fixes.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/12545043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188447 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-15 19:24:17 +00:00
nyquist@chromium.org 25c652b4ca [sync] Upstream the Android ProfileSyncService
This creates a Java-layer ProfileSyncService that is the only class that
should be used from downstream Chrome for Android. The native
counterparts should not be used.

In the process, a hashing utility and also, some identity code and their
respective tests had to be upstreamed. No functional changes have been
made to them.

BUG=159203
TBR=sky@chromium.org

Review URL: https://codereview.chromium.org/12313075

git-svn-id: http://src.chromium.org/svn/trunk/src/build@186798 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-07 22:22:03 +00:00