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 149310: Always persist bookmark IDs.... (Closed)

Created:
11 years, 5 months ago by Munjal (Google)
Modified:
9 years ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Always persist bookmark IDs. Remove the preference to persist IDs. NOTE that we need to save the file the first time with IDs since existing bookmark files won't have IDs and the file won't be saved until something changes in the bookmark model. So we need to explicitly save once when we assign ids for the first time. TEST=NONE BUG=16068 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20532

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 18

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 1

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -191 lines) Patch
M chrome/browser/bookmarks/bookmark_codec.h View 1 2 3 4 7 chunks +20 lines, -18 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_codec.cc View 1 2 3 4 5 6 7 8 9 chunks +23 lines, -24 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_codec_unittest.cc View 1 2 3 4 8 chunks +14 lines, -14 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_drag_data.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_drag_data.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.h View 1 2 3 4 9 chunks +13 lines, -27 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.cc View 1 2 3 10 chunks +14 lines, -45 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.h View 1 2 3 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.cc View 1 2 3 5 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_bookmarks_module.h View 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_bookmarks_module.cc View 4 5 6 17 chunks +60 lines, -28 lines 0 comments Download
M chrome/browser/extensions/extension_bookmarks_module_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_bookmarks_module_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/gtk/bookmark_editor_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/bookmark_tree_model.h View 5 6 7 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/gtk/bookmark_tree_model.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/views/bookmark_editor_view.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/views/bookmark_editor_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Munjal (Google)
11 years, 5 months ago (2009-07-08 03:54:41 UTC) #1
Aaron Boodman
Great! I didn't know we were definitely doing this.
11 years, 5 months ago (2009-07-08 04:28:54 UTC) #2
sky
Because we're going to persist the ids it's more likely that we might exceed max ...
11 years, 5 months ago (2009-07-08 15:32:28 UTC) #3
Munjal (Google)
Adding Erik to code review as suggested by Aaron. Erik, please note that I changed ...
11 years, 5 months ago (2009-07-08 20:42:33 UTC) #4
sky
LGTM with the following changes. Wait for Erik to comment on the extension changes though. ...
11 years, 5 months ago (2009-07-08 21:07:39 UTC) #5
Erik does not do reviews
http://codereview.chromium.org/149310/diff/41/1018 File chrome/browser/bookmarks/bookmark_codec.cc (right): http://codereview.chromium.org/149310/diff/41/1018#newcode22 Line 22: if (IsIdAssigned(id)) I don't understand why this is ...
11 years, 5 months ago (2009-07-08 21:51:26 UTC) #6
Munjal (Google)
http://codereview.chromium.org/149310/diff/41/1018 File chrome/browser/bookmarks/bookmark_codec.cc (right): http://codereview.chromium.org/149310/diff/41/1018#newcode22 Line 22: if (IsIdAssigned(id)) On 2009/07/08 21:51:27, Erik Kay wrote: ...
11 years, 5 months ago (2009-07-09 02:21:22 UTC) #7
Munjal (Google)
Adding Evan to code review GTK files for Linux.
11 years, 5 months ago (2009-07-09 05:12:47 UTC) #8
Evan Martin
int64s in chrome are a pet peeve of mine http://codereview.chromium.org/149310/diff/116/1102 File chrome/browser/bookmarks/bookmark_codec.cc (right): http://codereview.chromium.org/149310/diff/116/1102#newcode21 Line ...
11 years, 5 months ago (2009-07-09 05:21:01 UTC) #9
sky
On Wed, Jul 8, 2009 at 10:21 PM, <evan@chromium.org> wrote: > int64s in chrome are ...
11 years, 5 months ago (2009-07-09 15:57:04 UTC) #10
Evan Martin
GTK change looks fine, if you don't cause new crashes. BTW, there are more people ...
11 years, 5 months ago (2009-07-09 16:12:36 UTC) #11
Erik does not do reviews
http://codereview.chromium.org/149310/diff/41/1018 File chrome/browser/bookmarks/bookmark_codec.cc (right): http://codereview.chromium.org/149310/diff/41/1018#newcode22 Line 22: if (IsIdAssigned(id)) On 2009/07/09 02:21:22, munjal wrote: > ...
11 years, 5 months ago (2009-07-09 16:17:27 UTC) #12
sky
On 2009/07/09 16:17:27, Erik Kay wrote: > http://codereview.chromium.org/149310/diff/41/1018 > File chrome/browser/bookmarks/bookmark_codec.cc (right): > > http://codereview.chromium.org/149310/diff/41/1018#newcode22 ...
11 years, 5 months ago (2009-07-09 16:19:40 UTC) #13
Erik does not do reviews
On 2009/07/09 15:57:04, sky wrote: > On Wed, Jul 8, 2009 at 10:21 PM, <evan@chromium.org> ...
11 years, 5 months ago (2009-07-09 16:23:09 UTC) #14
Evan Martin
On 2009/07/09 16:23:09, Erik Kay wrote: > On 2009/07/09 15:57:04, sky wrote: > > On ...
11 years, 5 months ago (2009-07-09 16:27:21 UTC) #15
Erik does not do reviews
On Thu, Jul 9, 2009 at 9:27 AM, <evan@chromium.org> wrote: > On 2009/07/09 16:23:09, Erik ...
11 years, 5 months ago (2009-07-09 16:33:15 UTC) #16
Munjal (Google)
On 2009/07/09 16:12:36, Evan Martin wrote: > GTK change looks fine, if you don't cause ...
11 years, 5 months ago (2009-07-09 17:20:01 UTC) #17
Munjal (Google)
http://codereview.chromium.org/149310/diff/41/1018 File chrome/browser/bookmarks/bookmark_codec.cc (right): http://codereview.chromium.org/149310/diff/41/1018#newcode22 Line 22: if (IsIdAssigned(id)) On 2009/07/09 16:17:27, Erik Kay wrote: ...
11 years, 5 months ago (2009-07-09 17:20:24 UTC) #18
Erik does not do reviews
LGTM with a bug and a TODO to fix this issue. As we discussed offline, ...
11 years, 5 months ago (2009-07-09 17:46:40 UTC) #19
Aaron Boodman
On Thu, Jul 9, 2009 at 9:23 AM, <erikkay@chromium.org> wrote: > On 2009/07/09 15:57:04, sky ...
11 years, 5 months ago (2009-07-09 17:58:32 UTC) #20
Munjal (Google)
Adding erg to code review Linux stuff. Elliot, I am seeing a crash in linux ...
11 years, 5 months ago (2009-07-09 18:26:58 UTC) #21
Munjal (Google)
11 years, 5 months ago (2009-07-09 18:27:23 UTC) #22

          

Powered by Google App Engine
This is Rietveld 408576698