summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/write_node.cc
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 17:11:48 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 17:11:48 +0000
commitc5f44b491452afea36299d92afd1fe6e425294c1 (patch)
tree927d4f38120d166cfb8ab7df2ae30ecbef287554 /sync/internal_api/write_node.cc
parent6680d5781f0f45b3632619710d2af022c2150787 (diff)
downloadchromium_src-c5f44b491452afea36299d92afd1fe6e425294c1.zip
chromium_src-c5f44b491452afea36299d92afd1fe6e425294c1.tar.gz
chromium_src-c5f44b491452afea36299d92afd1fe6e425294c1.tar.bz2
Remove legacy GetURL(),SetURL(),GetFaviconBytes(),SetFaviconBytes()
Bug=None Test=TwoClientBookmarksSyncTest.SC_AddFirstBMWithFavicon Review URL: https://chromiumcodereview.appspot.com/11413153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/write_node.cc')
-rw-r--r--sync/internal_api/write_node.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/sync/internal_api/write_node.cc b/sync/internal_api/write_node.cc
index 5ffa795..6f70b3d 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_);
}