Allow only one bookmark to be added for multiple fast starring
commit584de1b73f811bcdb98eae1fb0d92b2b7df04fc3
authorianwen <ianwen@chromium.org>
Wed, 5 Aug 2015 21:20:57 +0000 (5 14:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 5 Aug 2015 21:21:23 +0000 (5 21:21 +0000)
tree368f017bfce83868595c7e80415dc1888b5d22ad
parent16beb4ed3de2131c961201a5c359462550e83496
Allow only one bookmark to be added for multiple fast starring

A quick user might be able to save duplicated bookmarks when he clicks
the star button before the bookmark model is loaded yet. This CL forces
that only one operation can be done before the model is loaded.

BUG=516658

Review URL: https://codereview.chromium.org/1263223005

Cr-Commit-Position: refs/heads/master@{#341976}
chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkUtils.java