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

Issue 8786006: Changes the visibility of the 'mobile' node based on whether (Closed)

Created:
9 years ago by sky
Modified:
9 years ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing)
Visibility:
Public.

Description

Changes the visibility of the 'mobile' node based on whether there is a node on the sync side. BUG=102714 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113103

Patch Set 1 #

Total comments: 6

Patch Set 2 : Merge to trunk #

Patch Set 3 : Merge to trunk and other fun #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -16 lines) Patch
M chrome/browser/bookmarks/bookmark_model.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 1 chunk +1 line, -1 line 1 comment Download
M chrome/browser/sync/engine/download_updates_command.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_change_processor.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 1 2 5 chunks +27 lines, -7 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_bookmark_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 2 comments Download
M chrome/common/chrome_switches.h View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M net/tools/testserver/chromiumsync.py View 1 2 1 chunk +0 lines, -2 lines 4 comments Download

Messages

Total messages: 15 (0 generated)
sky
This is relative to http://codereview.chromium.org/8772064/
9 years ago (2011-12-02 23:48:46 UTC) #1
akalin
http://codereview.chromium.org/8786006/diff/1/chrome/browser/sync/glue/bookmark_model_associator.cc File chrome/browser/sync/glue/bookmark_model_associator.cc (right): http://codereview.chromium.org/8786006/diff/1/chrome/browser/sync/glue/bookmark_model_associator.cc#newcode191 chrome/browser/sync/glue/bookmark_model_associator.cc:191: if (!bookmark_model_->IsLoaded()) hmm does the visibility get updated eventually ...
9 years ago (2011-12-03 00:17:05 UTC) #2
sky
http://codereview.chromium.org/8786006/diff/1/chrome/browser/sync/glue/bookmark_model_associator.cc File chrome/browser/sync/glue/bookmark_model_associator.cc (right): http://codereview.chromium.org/8786006/diff/1/chrome/browser/sync/glue/bookmark_model_associator.cc#newcode191 chrome/browser/sync/glue/bookmark_model_associator.cc:191: if (!bookmark_model_->IsLoaded()) On 2011/12/03 00:17:05, akalin wrote: > hmm ...
9 years ago (2011-12-03 00:23:06 UTC) #3
sky
Tim, if you could review this one that would be great. Thanks, -Scott
9 years ago (2011-12-03 00:25:32 UTC) #4
sky
Adding Yaron the review list. -Scott
9 years ago (2011-12-05 15:23:19 UTC) #5
Yaron
lgtm http://codereview.chromium.org/8786006/diff/1/chrome/browser/sync/glue/bookmark_model_associator.cc File chrome/browser/sync/glue/bookmark_model_associator.cc (right): http://codereview.chromium.org/8786006/diff/1/chrome/browser/sync/glue/bookmark_model_associator.cc#newcode191 chrome/browser/sync/glue/bookmark_model_associator.cc:191: if (!bookmark_model_->IsLoaded()) On 2011/12/03 00:23:07, sky wrote: > ...
9 years ago (2011-12-05 18:40:12 UTC) #6
sky
Diffs between last patch: Added kCreateMobileBookmarksFolder that indicates whether we should force creation of mobile ...
9 years ago (2011-12-05 23:35:29 UTC) #7
Yaron
http://codereview.chromium.org/8786006/diff/10001/net/tools/testserver/chromiumsync.py File net/tools/testserver/chromiumsync.py (left): http://codereview.chromium.org/8786006/diff/10001/net/tools/testserver/chromiumsync.py#oldcode397 net/tools/testserver/chromiumsync.py:397: PermanentItem('synced_bookmarks', name='Mobile Bookmarks', Hmm. Why is this changed?
9 years ago (2011-12-06 00:26:46 UTC) #8
sky
http://codereview.chromium.org/8786006/diff/10001/net/tools/testserver/chromiumsync.py File net/tools/testserver/chromiumsync.py (left): http://codereview.chromium.org/8786006/diff/10001/net/tools/testserver/chromiumsync.py#oldcode397 net/tools/testserver/chromiumsync.py:397: PermanentItem('synced_bookmarks', name='Mobile Bookmarks', On 2011/12/06 00:26:46, Yaron wrote: > ...
9 years ago (2011-12-06 00:33:13 UTC) #9
tim (not reviewing)
The sync functionality LGTM, thanks. http://codereview.chromium.org/8786006/diff/10001/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc File chrome/browser/sync/profile_sync_service_bookmark_unittest.cc (right): http://codereview.chromium.org/8786006/diff/10001/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc#newcode300 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc:300: switches::kCreateMobileBookmarksFolder); Hmm.. so we ...
9 years ago (2011-12-06 01:00:57 UTC) #10
sky
http://codereview.chromium.org/8786006/diff/10001/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc File chrome/browser/sync/profile_sync_service_bookmark_unittest.cc (right): http://codereview.chromium.org/8786006/diff/10001/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc#newcode300 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc:300: switches::kCreateMobileBookmarksFolder); On 2011/12/06 01:00:57, timsteele wrote: > Hmm.. so ...
9 years ago (2011-12-06 01:02:13 UTC) #11
Yaron
On 2011/12/06 01:02:13, sky wrote: > http://codereview.chromium.org/8786006/diff/10001/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc > File chrome/browser/sync/profile_sync_service_bookmark_unittest.cc (right): > > http://codereview.chromium.org/8786006/diff/10001/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc#newcode300 > ...
9 years ago (2011-12-06 01:31:54 UTC) #12
akalin
I think tim+yaron is enough for this CL; removed myself as reviewer. On 2011/12/06 01:31:54, ...
9 years ago (2011-12-06 02:53:40 UTC) #13
akalin
adding myself as reviewer for net/tools stuff net/tools stuff lgtm On 2011/12/06 02:53:40, akalin wrote: ...
9 years ago (2011-12-06 03:00:23 UTC) #14
akalin
9 years ago (2011-12-06 03:03:47 UTC) #15
http://codereview.chromium.org/8786006/diff/10001/net/tools/testserver/chromi...
File net/tools/testserver/chromiumsync.py (left):

http://codereview.chromium.org/8786006/diff/10001/net/tools/testserver/chromi...
net/tools/testserver/chromiumsync.py:397: PermanentItem('synced_bookmarks',
name='Mobile Bookmarks',
On 2011/12/06 01:00:57, timsteele wrote:
> On 2011/12/06 00:33:13, sky wrote:
> > On 2011/12/06 00:26:46, Yaron wrote:
> > > Hmm. Why is this changed?
> > 
> > I added it in http://codereview.chromium.org/8759017/ . It was necessary
when
> we
> > required the mobile folder to exist. Now that that isn't the case, this
> > shouldn't be required. At least that's my take on it. It could be I'm wrong.
> Let
> > me know.
> 
> This would be necessary if any of our integration tests covered mobile
bookmarks
> cases.  I'm not sure that we have any that do?

Yeah, I guess we don't have integration tests that need this, so I'm okay with
omitting it.

Powered by Google App Engine
This is Rietveld 408576698