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

Issue 10834237: Add the android partner bookmark shim. (Closed)

Created:
8 years, 4 months ago by Ted C
Modified:
8 years, 4 months ago
Reviewers:
aruslan, Yaron, sky
CC:
chromium-reviews
Visibility:
Public.

Description

Add the android partner bookmark shim. This is used android's NTP bookmark page to inject partner bookmarks on top of the user's bookmark model without modifying thiers. BUG=138236 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151509

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove unnecessary comment. #

Patch Set 3 : Remove unnecessary conditional. #

Total comments: 17

Patch Set 4 : First pass of sky's comments. #

Patch Set 5 : Fix another comment #

Patch Set 6 : Moved shim to android/ntp and removed the conflicting ID namespace issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -0 lines) Patch
A chrome/browser/ui/webui/ntp/android/partner_bookmarks_shim.h View 1 2 3 4 5 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/ntp/android/partner_bookmarks_shim.cc View 1 2 3 4 5 1 chunk +153 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/ntp/android/partner_bookmarks_shim_unittest.cc View 1 2 3 4 5 1 chunk +162 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Ted C
yfriedman && aruslan - android/ code bits yfriedman - android/ OWNERS jam - OWNERS for ...
8 years, 4 months ago (2012-08-08 22:50:53 UTC) #1
aruslan
Thanks! Looks good to me (I'm not a committer).
8 years, 4 months ago (2012-08-08 22:52:32 UTC) #2
Yaron
lgtm but I'd recommend brettw or sky as opposed to jam. Doesn't hurt to have ...
8 years, 4 months ago (2012-08-08 22:54:54 UTC) #3
Ted C
+sky - chrome OWNERS -jam
8 years, 4 months ago (2012-08-08 23:00:39 UTC) #4
Ted C
http://codereview.chromium.org/10834237/diff/1/chrome/browser/android/partner_bookmarks_shim.h File chrome/browser/android/partner_bookmarks_shim.h (right): http://codereview.chromium.org/10834237/diff/1/chrome/browser/android/partner_bookmarks_shim.h#newcode9 chrome/browser/android/partner_bookmarks_shim.h:9: // scoped_ptr requires complete class BookmarkNode, so we don't ...
8 years, 4 months ago (2012-08-08 23:01:48 UTC) #5
sky
gyp files LGTM. Are you asking for a review of the android files too?
8 years, 4 months ago (2012-08-09 00:26:44 UTC) #6
Ted C
On 2012/08/09 00:26:44, sky wrote: > gyp files LGTM. Are you asking for a review ...
8 years, 4 months ago (2012-08-09 00:45:52 UTC) #7
sky
Doesn't this mean you can't really iterate through the bookmark tree to find the partner ...
8 years, 4 months ago (2012-08-09 15:48:19 UTC) #8
Ted C
I guess I should have been more clear about the scope of this class. Partner ...
8 years, 4 months ago (2012-08-09 16:47:01 UTC) #9
aruslan
>> How do you know that a valid bookmark can't end up with this id? ...
8 years, 4 months ago (2012-08-09 17:31:44 UTC) #10
sky
Why not inject these bookmarks directly into the model? The code that encodes the bookmarks ...
8 years, 4 months ago (2012-08-09 19:41:11 UTC) #11
Ted C
On 2012/08/09 19:41:11, sky wrote: > Why not inject these bookmarks directly into the model? ...
8 years, 4 months ago (2012-08-09 22:54:58 UTC) #12
Ted C
On 2012/08/09 22:54:58, Ted C wrote: > On 2012/08/09 19:41:11, sky wrote: > > Why ...
8 years, 4 months ago (2012-08-09 23:30:08 UTC) #13
sky
Yes. And if this is temporary, LGTM On Thu, Aug 9, 2012 at 4:30 PM, ...
8 years, 4 months ago (2012-08-09 23:42:21 UTC) #14
Ted C
Cleaned it up and moved to the ntp/android directory. I removed the need for the ...
8 years, 4 months ago (2012-08-14 00:04:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/10834237/3005
8 years, 4 months ago (2012-08-14 15:45:05 UTC) #16
commit-bot: I haz the power
8 years, 4 months ago (2012-08-14 18:02:44 UTC) #17
Change committed as 151509

Powered by Google App Engine
This is Rietveld 408576698