Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Issue 10456007: [Android] Split the address parser from AddressDetector for WebView use. (Closed)

Created:
8 years, 6 months ago by Leandro Graciá Gil
Modified:
8 years, 6 months ago
Reviewers:
jam, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

[Android] Split the address parser from AddressDetector for WebView use. Split the address parser inside AddressDetector into a separate file outside the renderer folder. This is done in order to provide support for Java's WebView.findAddress using the new address parser while preventing layering violations in Chromium (WebView should not access content/renderer). BUG=125390 TEST=address_parser_unittest.cc Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139597

Patch Set 1 #

Total comments: 2

Patch Set 2 : transforming AddressParser into a namespace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -1742 lines) Patch
A content/common/android/address_parser.h View 1 1 chunk +35 lines, -0 lines 0 comments Download
A content/common/android/address_parser.cc View 1 1 chunk +219 lines, -0 lines 0 comments Download
A content/common/android/address_parser_internal.h View 1 1 chunk +83 lines, -0 lines 0 comments Download
A + content/common/android/address_parser_internal.cc View 1 9 chunks +25 lines, -242 lines 0 comments Download
A + content/common/android/address_parser_unittest.cc View 1 10 chunks +30 lines, -36 lines 0 comments Download
M content/content_common.gypi View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/android/address_detector.h View 3 chunks +1 line, -65 lines 0 comments Download
M content/renderer/android/address_detector.cc View 1 4 chunks +13 lines, -798 lines 0 comments Download
D content/renderer/android/address_detector_unittest.cc View 1 chunk +0 lines, -600 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Leandro Graciá Gil
piman: split of the address parser. This is the content/renderer/android and the content/common/android changes. jam: ...
8 years, 6 months ago (2012-05-28 17:59:49 UTC) #1
jam
lgtm
8 years, 6 months ago (2012-05-29 19:19:04 UTC) #2
piman
https://chromiumcodereview.appspot.com/10456007/diff/1/content/common/android/address_parser.h File content/common/android/address_parser.h (right): https://chromiumcodereview.appspot.com/10456007/diff/1/content/common/android/address_parser.h#newcode18 content/common/android/address_parser.h:18: class AddressParser { So, this class has no field ...
8 years, 6 months ago (2012-05-29 19:53:25 UTC) #3
Leandro Graciá Gil
http://codereview.chromium.org/10456007/diff/1/content/common/android/address_parser.h File content/common/android/address_parser.h (right): http://codereview.chromium.org/10456007/diff/1/content/common/android/address_parser.h#newcode18 content/common/android/address_parser.h:18: class AddressParser { On 2012/05/29 19:53:26, piman wrote: > ...
8 years, 6 months ago (2012-05-30 18:19:56 UTC) #4
piman
LGTM, thanks
8 years, 6 months ago (2012-05-30 18:43:46 UTC) #5
Leandro Graciá Gil
8 years, 6 months ago (2012-05-30 18:55:33 UTC) #6
On 2012/05/30 18:43:46, piman wrote:
> LGTM, thanks

Np. Thanks for the suggestion and for the review.

Powered by Google App Engine
This is Rietveld 408576698