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

Issue 114055: We need to save bookmarks file when the persist_ids settings changes... (Closed)

Created:
11 years, 7 months ago by Munjal (Google)
Modified:
9 years ago
Reviewers:
sky
CC:
chromium-reviews_googlegroups.com, idana, tim (not reviewing), ncarter (slow)
Visibility:
Public.

Description

We need to save bookmarks file when the persist_ids settings changes or when the file is detected to be changed externally. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17105

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M chrome/browser/bookmarks/bookmark_model.h View 1 3 chunks +9 lines, -0 lines 2 comments Download
M chrome/browser/bookmarks/bookmark_model.cc View 1 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.h View 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Munjal (Google)
11 years, 7 months ago (2009-05-28 01:05:56 UTC) #1
sky
http://codereview.chromium.org/114055/diff/1/3 File chrome/browser/bookmarks/bookmark_model.cc (right): http://codereview.chromium.org/114055/diff/1/3#newcode456 Line 456: if (details->computed_checksum() != details->stored_checksum()) Do we only need ...
11 years, 7 months ago (2009-05-28 16:23:26 UTC) #2
Munjal (Google)
http://codereview.chromium.org/114055/diff/1/3 File chrome/browser/bookmarks/bookmark_model.cc (right): http://codereview.chromium.org/114055/diff/1/3#newcode456 Line 456: if (details->computed_checksum() != details->stored_checksum()) On 2009/05/28 16:23:26, sky ...
11 years, 7 months ago (2009-05-28 18:30:11 UTC) #3
sky
LGTM with the following change. http://codereview.chromium.org/114055/diff/2004/2007 File chrome/browser/bookmarks/bookmark_model.h (right): http://codereview.chromium.org/114055/diff/2004/2007#newcode447 Line 447: bool file_changed_; manulaly ...
11 years, 7 months ago (2009-05-28 19:13:16 UTC) #4
Munjal (Google)
11 years, 7 months ago (2009-05-28 19:17:52 UTC) #5
http://codereview.chromium.org/114055/diff/2004/2007
File chrome/browser/bookmarks/bookmark_model.h (right):

http://codereview.chromium.org/114055/diff/2004/2007#newcode447
Line 447: bool file_changed_;
On 2009/05/28 19:13:17, sky wrote:
> manulaly -> manually
> Can you also add this is set after loading is completed and once set the value
> is never changed.

Done. I used "externally" instead of "manually" as that's what I use in other
places.

Powered by Google App Engine
This is Rietveld 408576698