0
Commit Graph

16 Commits

Author SHA1 Message Date
Avi Drissman
4a6ec7ef6b Update copyright headers in android_webview/ 3/3
The methodology used is documented in https://crbug.com/1098010#c34.

An earlier version of this CL, https://crrev.com/c/3879643,
was reverted due to an issue that was resolved with
https://crrev.com/c/3881211.

No-Try: true
Bug: 1098010
Change-Id: Iaea33536d02a9ea5b57eec31d61353fd1e6a4ed1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3883861
Commit-Queue: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1044742}
2022-09-08 20:26:46 +00:00
Daniel Cheng
2dfc20ba1c Revert "Update copyright headers in android_webview/ 3/3"
This reverts commit 981595d747.

Reason for revert: Broke the android-binary-size trybot.

Example failure: https://ci.chromium.org/ui/p/chromium/builders/try/android-binary-size/1225625/overview

Original change's description:
> Update copyright headers in android_webview/ 3/3
>
> The methodology used is documented in https://crbug.com/1098010#c15.
>
> No-Try: true
> Bug: 1098010
> Change-Id: I2a7243a21102d9ff2886e7ecb3f664fd1acbc486
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3879643
> Commit-Queue: Avi Drissman <avi@chromium.org>
> Owners-Override: Avi Drissman <avi@chromium.org>
> Auto-Submit: Avi Drissman <avi@chromium.org>
> Reviewed-by: Mark Mentovai <mark@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1044093}

Bug: 1098010
Change-Id: Ide24e688f02c133cf26f6d7bf4916e188de724c7
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3880948
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1044212}
2022-09-07 22:15:38 +00:00
Avi Drissman
981595d747 Update copyright headers in android_webview/ 3/3
The methodology used is documented in https://crbug.com/1098010#c15.

No-Try: true
Bug: 1098010
Change-Id: I2a7243a21102d9ff2886e7ecb3f664fd1acbc486
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3879643
Commit-Queue: Avi Drissman <avi@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1044093}
2022-09-07 18:24:27 +00:00
John Abd-El-Malek
2474e9c114 Move InputStream code from WebView to shared location so that WebLayer can reuse it
Bug: 1117626
Change-Id: I24af96b8149565d111950d82e4d3919470b5ff9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366559
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Commit-Queue: John Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800245}
2020-08-20 18:37:58 +00:00
Robbie McElrath
5feb6b8346 [AW] Add README.md files to //aw/ subdirectories
This CL adds simple README.md files to every //android_webview
subdirectory. These aren't meant to provide complete documentation, but
should inform readers of the high-level purpose of each folder, and can
be filled out more in later CLs.

Test: View all readmes in gitiles
Bug: 934152
Change-Id: I33eb4a6eb2f07f98c986cbf0bb8f5c3f5158f643
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958286
Commit-Queue: Robbie McElrath <rmcelrath@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Changwan Ryu <changwan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#724291}
2019-12-12 19:15:25 +00:00
Andrew Grieve
4562b2a1d9 Android: Remove redundant field initialization for non-//chrome java
TBR=agrieve  # Mechanical refactor

Bug: 878853
Change-Id: I8d8f80cc3f7ea2b3d245ac5c9bf7c8be6e1511ee
Reviewed-on: https://chromium-review.googlesource.com/1194961
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588651}
2018-09-04 21:43:32 +00:00
changwan
e04b8f5353 Remove Android support for out-of-process KeyStores
Support for out-of-process KeyStores was added to Chrome for Android
builds to support certain OEM-specific functionality. It worked by binding
to a service that implemented the RemoteAndroidKeyStoreInterface, and
using that for private key operations, rather than the default in-process
KeyStore.

However, support for this functionality in Chrome is being retired;
device manufacturers wishing to offer this functionality to Chrome
users can simply fall back to the default KeyStore implementation.

As such, remove the code and service descriptors; only local,
in-process KeyStores will be supported.

BUG=560614

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

Cr-Commit-Position: refs/heads/master@{#362649}
2015-12-02 06:45:01 +00:00
aurimas
ca3b803930 Move JNI annotations to annotations package.
The rest of the annotations already live in this package,
so this CL moves CalledByNative, NativeCall, JNIAdditionalImport,
NativeClassQualifiedName and JNINamespace to the same package.

BUG=None
TBR=armansito@chromium.org,asvitkine@chromium.org,atwilson@chromium.org,avayvod@chromium.org,bauerb@chromium.org,boliu@chromium.org,brettw@chromium.org,dtrainor@chromium.org,gunsch@chromium.org,lambroslambrou@chromium.org,mef@chromium.org,mnaganov@chromium.org,mnissler@chromium.org,peter@chromium.org,qinmin@chromium.org,sky@chromium.org,yfriedman@chromium.org,yukawa@chromium.org,zea@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#341175}
2015-07-30 19:51:46 +00:00
aurimas
2827f2b320 Enable NeedsBraces check and fix some checkstyle issues.
NeedBraces will now check for {} in if, while, and for statements.
It will still allow one line inline statements.

BUG=None

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

Cr-Commit-Position: refs/heads/master@{#323823}
2015-04-03 21:44:28 +00:00
aurimas
a49e9faf5e Fix Java indentation issues.
Fix indentation issues to allow enabling Checkstyle indentation rule.

BUG=318404

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

Cr-Commit-Position: refs/heads/master@{#299975}
2014-10-16 21:10:38 +00:00
aurimas@chromium.org
c00af75b32 [Checkstyle] Update class member variable names to match style guides.
- Non-public, non-static field names start with m.
http://source.android.com/source/code-style.html#follow-field-naming-conventions

BUG=318404

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

Cr-Commit-Position: refs/heads/master@{#288299}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288299 0039d316-1c4b-4281-b951-d872f2087c98
2014-08-08 10:11:26 +00:00
mkosiba@chromium.org
17fd3aa215 Don't crash on InputStream exceptions in the android_webview.
The InputStream methods can, under normal operation, throw an IOException.
If such a stream is being read by the WebView it will crash. This change
addresses that by introducing a wrapper class that deals with the exceptions.

BUG=157880

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286214 0039d316-1c4b-4281-b951-d872f2087c98
2014-07-29 16:35:42 +00:00
sgurun@chromium.org
353539b102 Add client cert support to android_webview
This CL implements client certs backend for android_webview. Most of the code path is similar to how chrome handles client certs. the callbacks are eventually plumbed to webview as APIs.

We still need to answer the question that if ClientCert cache is needed at the android_webview layer.

BUG=b/12983007
TBR=jcivelli@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265380 0039d316-1c4b-4281-b951-d872f2087c98
2014-04-22 22:22:44 +00:00
aurimas@chromium.org
6f221ce75d Fixing all Java import ordering issues.
BUG=320711
TBR=isherman@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239823 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-10 19:28:13 +00:00
aurimas@chromium.org
215cfc7c7a Fixing Java style issues in android_webview.
BUG=320711
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239661 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-10 05:06:07 +00:00
mkosiba@chromium.org
17373866b8 [android_webview] Don't block the IO thread when reading from an InputStream.
This breaks up the functionality in the AndroidStreamReader..Job into
three separate classes, adds native unittests and makes the Job read
the InputStream on a background thread.
This change adds a separate unittestjava folder because the code under
javatests can't be compiled to be a part of a native unittest APK due to
resource dependencies.

TEST=AndroidWebviewTests,android_webview_unittests
BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169274 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-22 16:21:26 +00:00