Lines Matching refs:BookmarkCodec
19 const char* BookmarkCodec::kRootsKey = "roots";
20 const char* BookmarkCodec::kRootFolderNameKey = "bookmark_bar";
21 const char* BookmarkCodec::kOtherBookmarkFolderNameKey = "other";
22 const char* BookmarkCodec::kVersionKey = "version";
23 const char* BookmarkCodec::kChecksumKey = "checksum";
24 const char* BookmarkCodec::kIdKey = "id";
25 const char* BookmarkCodec::kTypeKey = "type";
26 const char* BookmarkCodec::kNameKey = "name";
27 const char* BookmarkCodec::kDateAddedKey = "date_added";
28 const char* BookmarkCodec::kURLKey = "url";
29 const char* BookmarkCodec::kDateModifiedKey = "date_modified";
30 const char* BookmarkCodec::kChildrenKey = "children";
31 const char* BookmarkCodec::kTypeURL = "url";
32 const char* BookmarkCodec::kTypeFolder = "folder";
37 BookmarkCodec::BookmarkCodec()
43 BookmarkCodec::~BookmarkCodec() {}
45 Value* BookmarkCodec::Encode(BookmarkModel* model) {
49 Value* BookmarkCodec::Encode(const BookmarkNode* bookmark_bar_node,
68 bool BookmarkCodec::Decode(BookmarkNode* bb_node,
88 Value* BookmarkCodec::EncodeNode(const BookmarkNode* node) {
116 bool BookmarkCodec::DecodeHelper(BookmarkNode* bb_node,
169 bool BookmarkCodec::DecodeChildren(const ListValue& child_value_list,
184 bool BookmarkCodec::DecodeNode(const DictionaryValue& value,
291 void BookmarkCodec::ReassignIDs(BookmarkNode* bb_node,
299 void BookmarkCodec::ReassignIDsHelper(BookmarkNode* node) {
306 void BookmarkCodec::UpdateChecksum(const std::string& str) {
310 void BookmarkCodec::UpdateChecksum(const string16& str) {
314 void BookmarkCodec::UpdateChecksumWithUrlNode(const std::string& id,
324 void BookmarkCodec::UpdateChecksumWithFolderNode(const std::string& id,
331 void BookmarkCodec::InitializeChecksum() {
335 void BookmarkCodec::FinalizeChecksum() {