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

Issue 539173004: Bring up of the enhanced bookmarks cluster service. (Closed)

Created:
6 years, 3 months ago by noyau (Ping after 24h)
Modified:
6 years, 2 months ago
CC:
chromium-reviews, Kibeom Kim (inactive), Rune Fevang
Base URL:
https://chromium.googlesource.com/chromium/src.git@intermediary2
Project:
chromium
Visibility:
Public.

Description

Bring up of the enhanced bookmarks cluster service. This service retrieves the cluster of bookmarks from the bookmark server. BUG=None Committed: https://crrev.com/6bb374fc58bfeeb7966b6a548b1c7b41af9c8e47 Cr-Commit-Position: refs/heads/master@{#298582} Committed: https://crrev.com/daaac3af72f231dec2df4dc566b84356d3dc10df Cr-Commit-Position: refs/heads/master@{#298682}

Patch Set 1 #

Patch Set 2 : Removing empty DEPS file, fixing a nit. #

Total comments: 17

Patch Set 3 : feedback #

Patch Set 4 : Rebase. #

Total comments: 24

Patch Set 5 : More feedback #

Total comments: 47

Patch Set 6 : Rebase plus all feedback so far. #

Patch Set 7 : v instead of version for the arg to the server. #

Patch Set 8 : Fixing gn build. #

Patch Set 9 : Nits: consts. #

Total comments: 2

Patch Set 10 : dictionaty to dictionary #

Total comments: 6

Patch Set 11 : Rebase, OVERRIDE->override, plus better comments. #

Total comments: 30

Patch Set 12 : battre@ feedback. #

Total comments: 6

Patch Set 13 : Nits. #

Patch Set 14 : Removing static initializers. #

Total comments: 1

Patch Set 15 : micro-nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+862 lines, -31 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/browser/enhanced_bookmarks/OWNERS View 1 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service_factory.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service_factory.cc View 1 2 3 4 5 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/enhanced_bookmarks/enhanced_bookmark_model_factory.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +56 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks.gypi View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A components/enhanced_bookmarks/bookmark_server_cluster_service.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +125 lines, -0 lines 0 comments Download
A components/enhanced_bookmarks/bookmark_server_cluster_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +315 lines, -0 lines 0 comments Download
M components/enhanced_bookmarks/bookmark_server_search_service.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -3 lines 0 comments Download
M components/enhanced_bookmarks/bookmark_server_search_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -5 lines 0 comments Download
M components/enhanced_bookmarks/bookmark_server_service.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -3 lines 0 comments Download
M components/enhanced_bookmarks/bookmark_server_service.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -6 lines 0 comments Download
M components/enhanced_bookmarks/enhanced_bookmark_model.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M components/enhanced_bookmarks/enhanced_bookmark_model.cc View 1 2 3 4 5 1 chunk +9 lines, -6 lines 0 comments Download
A components/enhanced_bookmarks/pref_names.h View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A + components/enhanced_bookmarks/pref_names.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -4 lines 0 comments Download
M components/enhanced_bookmarks/proto/BUILD.gn View 1 2 6 7 1 chunk +1 line, -0 lines 0 comments Download
A components/enhanced_bookmarks/proto/cluster.proto View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (12 generated)
noyau (Ping after 24h)
6 years, 3 months ago (2014-09-04 21:56:06 UTC) #2
Yaron
https://codereview.chromium.org/539173004/diff/20001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc File chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/20001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc#newcode40 chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc:40: void ChromeBookmarkServerClusterService::OnSyncCycleCompleted() { This seems a bit aggressive. I ...
6 years, 3 months ago (2014-09-05 05:18:01 UTC) #4
blundell
I defer to the others for the review here.
6 years, 3 months ago (2014-09-05 09:10:44 UTC) #5
noyau (Ping after 24h)
https://codereview.chromium.org/539173004/diff/20001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc File chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/20001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc#newcode40 chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc:40: void ChromeBookmarkServerClusterService::OnSyncCycleCompleted() { On 2014/09/05 05:18:00, Yaron wrote: > ...
6 years, 3 months ago (2014-09-10 08:53:57 UTC) #6
chromium-reviews
Sorry I didn't get back to this today and am heading out for a few ...
6 years, 3 months ago (2014-09-12 01:44:28 UTC) #7
noyau (Ping after 24h)
+kkimlabs@ for review in Yaron absence +battre@ for the changes in browser_prefs.cc
6 years, 3 months ago (2014-09-12 11:01:19 UTC) #9
battre
Hi. I had literally just 5 minutes to look into this. (in an all day ...
6 years, 3 months ago (2014-09-12 16:49:02 UTC) #10
Kibeom Kim (inactive)
https://codereview.chromium.org/539173004/diff/60001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc File components/enhanced_bookmarks/bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/60001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc#newcode101 components/enhanced_bookmarks/bookmark_server_cluster_service.cc:101: for (auto pair : cluster_data_) I'm not sure if ...
6 years, 3 months ago (2014-09-12 21:31:25 UTC) #11
noyau (Ping after 24h)
PTAL. Sorry it took so long to get back to this. On 2014/09/12 16:49:02, battre ...
6 years, 3 months ago (2014-09-18 12:41:48 UTC) #13
Mark
https://codereview.chromium.org/539173004/diff/60001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc File components/enhanced_bookmarks/bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/60001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc#newcode123 components/enhanced_bookmarks/bookmark_server_cluster_service.cc:123: url = net::AppendQueryParameter(url, "hl", application_language_code_); You are also going ...
6 years, 3 months ago (2014-09-18 18:08:52 UTC) #14
Mark
Sorry for all these slow updates. https://codereview.chromium.org/539173004/diff/100001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc File components/enhanced_bookmarks/bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/100001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc#newcode268 components/enhanced_bookmarks/bookmark_server_cluster_service.cc:268: base::JSONReader reader; Any ...
6 years, 3 months ago (2014-09-18 18:10:43 UTC) #15
Yaron
https://codereview.chromium.org/539173004/diff/60001/components/enhanced_bookmarks/proto/cluster.proto File components/enhanced_bookmarks/proto/cluster.proto (right): https://codereview.chromium.org/539173004/diff/60001/components/enhanced_bookmarks/proto/cluster.proto#newcode37 components/enhanced_bookmarks/proto/cluster.proto:37: message HypnoOptions { On 2014/09/18 18:08:52, Mark wrote: > ...
6 years, 3 months ago (2014-09-23 17:08:30 UTC) #17
Yaron
https://codereview.chromium.org/539173004/diff/100001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc File chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/100001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc#newcode40 chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc:40: void ChromeBookmarkServerClusterService::OnSyncCycleCompleted() { On 2014/09/23 17:08:30, Yaron wrote: > ...
6 years, 3 months ago (2014-09-23 17:11:21 UTC) #18
battre
https://codereview.chromium.org/539173004/diff/100001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h File chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h (right): https://codereview.chromium.org/539173004/diff/100001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h#newcode20 chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h:20: const std::string& application_language_code, nit: add a comment on this? ...
6 years, 2 months ago (2014-09-26 14:33:06 UTC) #19
noyau (Ping after 24h)
Thanks for all the comments. This code has rotten a bit with its superclass changing ...
6 years, 2 months ago (2014-09-26 15:21:51 UTC) #20
battre
On 2014/09/26 15:21:51, noyau wrote: > Thanks for all the comments. This code has rotten ...
6 years, 2 months ago (2014-09-26 15:28:16 UTC) #21
Mark
https://codereview.chromium.org/539173004/diff/100001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h File chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h (right): https://codereview.chromium.org/539173004/diff/100001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h#newcode20 chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h:20: const std::string& application_language_code, On 2014/09/26 14:33:04, battre wrote: > ...
6 years, 2 months ago (2014-09-26 19:17:19 UTC) #22
Kibeom Kim (inactive)
https://codereview.chromium.org/539173004/diff/60001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc File components/enhanced_bookmarks/bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/60001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc#newcode167 components/enhanced_bookmarks/bookmark_server_cluster_service.cc:167: cluster_data_.begin())) { On 2014/09/18 12:41:47, noyau wrote: > On ...
6 years, 2 months ago (2014-09-29 21:15:56 UTC) #23
noyau (Ping after 24h)
On 2014/09/26 15:28:16, battre wrote: > On 2014/09/26 15:21:51, noyau wrote: > > Thanks for ...
6 years, 2 months ago (2014-09-30 14:43:02 UTC) #24
battre
On 2014/09/30 14:43:02, noyau wrote: > On 2014/09/26 15:28:16, battre wrote: > > On 2014/09/26 ...
6 years, 2 months ago (2014-09-30 14:53:47 UTC) #25
Mark
On 2014/09/30 14:53:47, battre wrote: > On 2014/09/30 14:43:02, noyau wrote: > > On 2014/09/26 ...
6 years, 2 months ago (2014-09-30 16:02:24 UTC) #26
Nicolas Zea
On 2014/09/30 16:02:24, Mark wrote: > On 2014/09/30 14:53:47, battre wrote: > > On 2014/09/30 ...
6 years, 2 months ago (2014-09-30 22:01:25 UTC) #27
noyau (Ping after 24h)
All rebased, all using the new API introduced after the creation of this CL. All ...
6 years, 2 months ago (2014-10-01 16:04:44 UTC) #29
Yaron
lgtm https://codereview.chromium.org/539173004/diff/100001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc File chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/100001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc#newcode40 chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.cc:40: void ChromeBookmarkServerClusterService::OnSyncCycleCompleted() { On 2014/10/01 16:04:42, noyau wrote: ...
6 years, 2 months ago (2014-10-01 23:45:21 UTC) #31
noyau (Ping after 24h)
+sky for the addition of the chrome/browser/enhanced_bookmarks folder.
6 years, 2 months ago (2014-10-06 15:50:55 UTC) #33
noyau (Ping after 24h)
https://codereview.chromium.org/539173004/diff/220001/components/enhanced_bookmarks/bookmark_server_cluster_service.h File components/enhanced_bookmarks/bookmark_server_cluster_service.h (right): https://codereview.chromium.org/539173004/diff/220001/components/enhanced_bookmarks/bookmark_server_cluster_service.h#newcode100 components/enhanced_bookmarks/bookmark_server_cluster_service.h:100: // Serialize the |cluster_map| into the returned dictionaty value.. ...
6 years, 2 months ago (2014-10-06 16:21:15 UTC) #34
sky
https://codereview.chromium.org/539173004/diff/240001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h File chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h (right): https://codereview.chromium.org/539173004/diff/240001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h#newcode15 chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h:15: // Manages requests to the bookmark server to do ...
6 years, 2 months ago (2014-10-06 18:24:12 UTC) #35
noyau (Ping after 24h)
PTAL https://codereview.chromium.org/539173004/diff/240001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h File chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h (right): https://codereview.chromium.org/539173004/diff/240001/chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h#newcode15 chrome/browser/enhanced_bookmarks/chrome_bookmark_server_cluster_service.h:15: // Manages requests to the bookmark server to ...
6 years, 2 months ago (2014-10-07 11:11:57 UTC) #36
battre
https://codereview.chromium.org/539173004/diff/280001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc File components/enhanced_bookmarks/bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/280001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc#newcode70 components/enhanced_bookmarks/bookmark_server_cluster_service.cc:70: const std::string& star_id = *it; nit/opt: you can use ...
6 years, 2 months ago (2014-10-07 13:39:30 UTC) #38
noyau (Ping after 24h)
PTAL https://codereview.chromium.org/539173004/diff/280001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc File components/enhanced_bookmarks/bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/280001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc#newcode70 components/enhanced_bookmarks/bookmark_server_cluster_service.cc:70: const std::string& star_id = *it; On 2014/10/07 13:39:29, ...
6 years, 2 months ago (2014-10-07 15:19:32 UTC) #39
battre
LGTM I suppose that somebody else reviews the tests. https://codereview.chromium.org/539173004/diff/300001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc File components/enhanced_bookmarks/bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/300001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc#newcode98 components/enhanced_bookmarks/bookmark_server_cluster_service.cc:98: ...
6 years, 2 months ago (2014-10-07 16:09:43 UTC) #40
noyau (Ping after 24h)
https://codereview.chromium.org/539173004/diff/300001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc File components/enhanced_bookmarks/bookmark_server_cluster_service.cc (right): https://codereview.chromium.org/539173004/diff/300001/components/enhanced_bookmarks/bookmark_server_cluster_service.cc#newcode98 components/enhanced_bookmarks/bookmark_server_cluster_service.cc:98: } On 2014/10/07 16:09:43, battre wrote: > Nit: remove ...
6 years, 2 months ago (2014-10-07 16:28:39 UTC) #41
sky
LGTM
6 years, 2 months ago (2014-10-07 17:45:24 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/539173004/320001
6 years, 2 months ago (2014-10-07 20:23:50 UTC) #44
commit-bot: I haz the power
Committed patchset #13 (id:320001) as 22ae3f7319bfada27fc53d57c7e59beebcc16651
6 years, 2 months ago (2014-10-07 22:00:57 UTC) #45
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/6bb374fc58bfeeb7966b6a548b1c7b41af9c8e47 Cr-Commit-Position: refs/heads/master@{#298582}
6 years, 2 months ago (2014-10-07 22:01:36 UTC) #46
Sorin Jianu
A revert of this CL (patchset #13 id:320001) has been created in https://codereview.chromium.org/641473002/ by sorin@chromium.org. ...
6 years, 2 months ago (2014-10-08 01:03:06 UTC) #47
noyau (Ping after 24h)
Fixing the static initializers.
6 years, 2 months ago (2014-10-08 09:04:10 UTC) #49
sdefresne
LGTM with nits https://codereview.chromium.org/539173004/diff/340001/components/enhanced_bookmarks/bookmark_server_search_service.cc File components/enhanced_bookmarks/bookmark_server_search_service.cc (right): https://codereview.chromium.org/539173004/diff/340001/components/enhanced_bookmarks/bookmark_server_search_service.cc#newcode14 components/enhanced_bookmarks/bookmark_server_search_service.cc:14: const char kSearchUrl[] = nit: this ...
6 years, 2 months ago (2014-10-08 09:08:21 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/539173004/360001
6 years, 2 months ago (2014-10-08 09:11:42 UTC) #52
commit-bot: I haz the power
Committed patchset #15 (id:360001) as 3538c71001343ffef6c042eed650c4f0016a79ad
6 years, 2 months ago (2014-10-08 11:11:22 UTC) #53
commit-bot: I haz the power
6 years, 2 months ago (2014-10-08 11:12:10 UTC) #54
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/daaac3af72f231dec2df4dc566b84356d3dc10df
Cr-Commit-Position: refs/heads/master@{#298682}

Powered by Google App Engine
This is Rietveld 408576698