| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/sync/glue/bookmark_change_processor.h" | 5 #include "chrome/browser/sync/glue/bookmark_change_processor.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <stack> | 8 #include <stack> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 957 sync_pb::BookmarkSpecifics updated_specifics( | 957 sync_pb::BookmarkSpecifics updated_specifics( |
| 958 sync_node->GetBookmarkSpecifics()); | 958 sync_node->GetBookmarkSpecifics()); |
| 959 updated_specifics.set_favicon(favicon_bytes->front(), | 959 updated_specifics.set_favicon(favicon_bytes->front(), |
| 960 favicon_bytes->size()); | 960 favicon_bytes->size()); |
| 961 updated_specifics.set_icon_url(bookmark_node->icon_url().spec()); | 961 updated_specifics.set_icon_url(bookmark_node->icon_url().spec()); |
| 962 sync_node->SetBookmarkSpecifics(updated_specifics); | 962 sync_node->SetBookmarkSpecifics(updated_specifics); |
| 963 } | 963 } |
| 964 } | 964 } |
| 965 | 965 |
| 966 bool BookmarkChangeProcessor::CanSyncNode(const BookmarkNode* node) { | 966 bool BookmarkChangeProcessor::CanSyncNode(const BookmarkNode* node) { |
| 967 return bookmark_model_->client()->CanSyncNode(node); | 967 return bookmark_model_->CanSyncNode(node); |
| 968 } | 968 } |
| 969 | 969 |
| 970 } // namespace browser_sync | 970 } // namespace browser_sync |
| OLD | NEW |