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

Unified Diff: chrome/browser/sync/glue/bookmark_change_processor.cc

Issue 5159001: Rest of the autofill work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: autofill second part with cr feedback fixed Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/bookmark_change_processor.cc
diff --git a/chrome/browser/sync/glue/bookmark_change_processor.cc b/chrome/browser/sync/glue/bookmark_change_processor.cc
index da749b8d4d6b67ea127ba42588e81024c728c831..c6e94f3931a2732b98ba75edc363150155468074 100644
--- a/chrome/browser/sync/glue/bookmark_change_processor.cc
+++ b/chrome/browser/sync/glue/bookmark_change_processor.cc
@@ -7,6 +7,8 @@
#include <stack>
#include <vector>
+
+
#include "base/string16.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
@@ -47,6 +49,7 @@ void BookmarkChangeProcessor::StopImpl() {
model_associator_ = NULL;
}
+
void BookmarkChangeProcessor::UpdateSyncNodeProperties(
const BookmarkNode* src, BookmarkModel* model, sync_api::WriteNode* dst) {
// Set the properties of the item.
@@ -445,8 +448,9 @@ const BookmarkNode* BookmarkChangeProcessor::CreateOrUpdateBookmarkNode(
model_associator_->GetChromeNodeFromSyncId(src->GetParentId());
if (!parent) {
DLOG(WARNING) << "Could not find parent of node being added/updated."
- << " Node title: " << src->GetTitle()
+ //<< " Node title: " << src->GetTitle()
<< ", parent id = " << src->GetParentId();
+
return NULL;
}
int index = CalculateBookmarkModelInsertionIndex(parent, src);

Powered by Google App Engine
This is Rietveld 408576698