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

Unified Diff: sync/internal_api/write_node.cc

Issue 11413153: Remove legacy GetURL(),SetURL(),GetFaviconBytes(),SetFaviconBytes() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/write_node.cc
diff --git a/sync/internal_api/write_node.cc b/sync/internal_api/write_node.cc
index 5ffa79575caea3fae182db15410d88e8b1c758c9..6f70b3da11bc2debfe95b2af23503f1840e7c92d 100644
--- a/sync/internal_api/write_node.cc
+++ b/sync/internal_api/write_node.cc
@@ -104,12 +104,6 @@ void WriteNode::SetTitle(const std::wstring& title) {
MarkForSyncing();
}
-void WriteNode::SetURL(const GURL& url) {
- sync_pb::BookmarkSpecifics new_value = GetBookmarkSpecifics();
- new_value.set_url(url.spec());
- SetBookmarkSpecifics(new_value);
-}
-
void WriteNode::SetAppSpecifics(
const sync_pb::AppSpecifics& new_value) {
sync_pb::EntitySpecifics entity_specifics;
@@ -513,12 +507,6 @@ bool WriteNode::PutPredecessor(const BaseNode* predecessor) {
return true;
}
-void WriteNode::SetFaviconBytes(const vector<unsigned char>& bytes) {
- sync_pb::BookmarkSpecifics new_value = GetBookmarkSpecifics();
- new_value.set_favicon(bytes.empty() ? NULL : &bytes[0], bytes.size());
- SetBookmarkSpecifics(new_value);
-}
-
void WriteNode::MarkForSyncing() {
syncable::MarkForSyncing(entry_);
}
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698