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

Issue 442503002: Retrieve article original URL from entryID (Closed)

Created:
6 years, 4 months ago by sunangel
Modified:
6 years, 4 months ago
Reviewers:
robliao, nyquist, rgustafson
CC:
chromium-reviews, smaslo, nyquist
Project:
chromium
Visibility:
Public.

Description

Retrieve article original URL from entryID This CL adds support for retrieving an article's original URL based on it's entry ID. Adds functions HasEntry and GetUrlForEntry for the DomDistillerServiceInterface. HasEntry returns whether DomDistillerService contains an article for the corresponding entry ID. GetUrlForEntry returns the original URL for a given entry ID. Adds Java implementation to retrieve information about entry through added native methods. BUG=383630 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289761

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Added tests for viewer, styling #

Total comments: 6

Patch Set 3 : Added comments #

Total comments: 6

Patch Set 4 : Styling #

Total comments: 2

Patch Set 5 : line spacing fixed #

Patch Set 6 : synced #

Patch Set 7 : string reference #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -3 lines) Patch
M chrome/browser/dom_distiller/lazy_dom_distiller_service.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/dom_distiller/lazy_dom_distiller_service.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service.h View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service.cc View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service_android.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service_android.cc View 1 2 3 2 chunks +22 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service_unittest.cc View 1 2 1 chunk +112 lines, -0 lines 0 comments Download
M components/dom_distiller/core/url_utils.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M components/dom_distiller/core/url_utils.cc View 1 2 3 4 5 1 chunk +11 lines, -3 lines 0 comments Download
M components/dom_distiller/core/url_utils_android.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M components/dom_distiller/core/url_utils_unittest.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M components/dom_distiller/core/viewer_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
sunangel
6 years, 4 months ago (2014-08-12 23:12:30 UTC) #1
nyquist
https://codereview.chromium.org/442503002/diff/80001/components/dom_distiller/core/dom_distiller_service.cc File components/dom_distiller/core/dom_distiller_service.cc (right): https://codereview.chromium.org/442503002/diff/80001/components/dom_distiller/core/dom_distiller_service.cc#newcode74 components/dom_distiller/core/dom_distiller_service.cc:74: // Returns the source URL given an entry ID. ...
6 years, 4 months ago (2014-08-13 20:09:11 UTC) #2
sunangel
https://codereview.chromium.org/442503002/diff/80001/components/dom_distiller/core/dom_distiller_service.cc File components/dom_distiller/core/dom_distiller_service.cc (right): https://codereview.chromium.org/442503002/diff/80001/components/dom_distiller/core/dom_distiller_service.cc#newcode74 components/dom_distiller/core/dom_distiller_service.cc:74: // Returns the source URL given an entry ID. ...
6 years, 4 months ago (2014-08-13 21:49:33 UTC) #3
nyquist
the CL description needs to be updated. Also, add BUG= line. First line and title ...
6 years, 4 months ago (2014-08-13 23:03:40 UTC) #4
sunangel
https://codereview.chromium.org/442503002/diff/180001/components/dom_distiller/core/dom_distiller_service.h File components/dom_distiller/core/dom_distiller_service.h (right): https://codereview.chromium.org/442503002/diff/180001/components/dom_distiller/core/dom_distiller_service.h#newcode58 components/dom_distiller/core/dom_distiller_service.h:58: // Returns true if an article stored has the ...
6 years, 4 months ago (2014-08-13 23:31:15 UTC) #5
robliao
On 2014/08/13 23:31:15, sunangel wrote: > https://codereview.chromium.org/442503002/diff/180001/components/dom_distiller/core/dom_distiller_service.h > File components/dom_distiller/core/dom_distiller_service.h (right): > > https://codereview.chromium.org/442503002/diff/180001/components/dom_distiller/core/dom_distiller_service.h#newcode58 > ...
6 years, 4 months ago (2014-08-13 23:34:28 UTC) #6
sunangel
On 2014/08/13 23:34:28, robliao wrote: > On 2014/08/13 23:31:15, sunangel wrote: > > > https://codereview.chromium.org/442503002/diff/180001/components/dom_distiller/core/dom_distiller_service.h ...
6 years, 4 months ago (2014-08-13 23:42:15 UTC) #7
robliao
https://codereview.chromium.org/442503002/diff/200001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java File components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java (right): https://codereview.chromium.org/442503002/diff/200001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java#newcode43 components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java:43: private native boolean nativeHasEntry(long nativeDomDistillerServiceAndroid, String entryId); Linebreak above ...
6 years, 4 months ago (2014-08-13 23:43:15 UTC) #8
sunangel
https://codereview.chromium.org/442503002/diff/200001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java File components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java (right): https://codereview.chromium.org/442503002/diff/200001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java#newcode43 components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java:43: private native boolean nativeHasEntry(long nativeDomDistillerServiceAndroid, String entryId); On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 23:47:16 UTC) #9
nyquist
lgtm, but please wait for robert too
6 years, 4 months ago (2014-08-14 00:35:12 UTC) #10
robliao
On 2014/08/14 00:35:12, nyquist wrote: > lgtm, but please wait for robert too lgtm with ...
6 years, 4 months ago (2014-08-14 00:52:50 UTC) #11
robliao
https://codereview.chromium.org/442503002/diff/220001/components/dom_distiller/core/url_utils_android.cc File components/dom_distiller/core/url_utils_android.cc (right): https://codereview.chromium.org/442503002/diff/220001/components/dom_distiller/core/url_utils_android.cc#newcode74 components/dom_distiller/core/url_utils_android.cc:74: .Release(); I would format this as follows: return base::android:: ...
6 years, 4 months ago (2014-08-14 00:53:02 UTC) #12
sunangel
https://codereview.chromium.org/442503002/diff/220001/components/dom_distiller/core/url_utils_android.cc File components/dom_distiller/core/url_utils_android.cc (right): https://codereview.chromium.org/442503002/diff/220001/components/dom_distiller/core/url_utils_android.cc#newcode74 components/dom_distiller/core/url_utils_android.cc:74: .Release(); On 2014/08/14 00:53:02, robliao wrote: > I would ...
6 years, 4 months ago (2014-08-14 17:40:06 UTC) #13
sunangel
The CQ bit was checked by sunangel@chromium.org
6 years, 4 months ago (2014-08-14 17:50:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunangel@chromium.org/442503002/300001
6 years, 4 months ago (2014-08-14 17:52:57 UTC) #15
sunangel
The CQ bit was checked by sunangel@chromium.org
6 years, 4 months ago (2014-08-14 21:35:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunangel@chromium.org/442503002/320001
6 years, 4 months ago (2014-08-14 21:38:49 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 03:17:40 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 (320001) as 289761

Powered by Google App Engine
This is Rietveld 408576698