BookmarkCodec 20 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kRootsKey = "roots"; BookmarkCodec 21 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kRootFolderNameKey = "bookmark_bar"; BookmarkCodec 22 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kOtherBookmarkFolderNameKey = "other"; BookmarkCodec 24 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kMobileBookmarkFolderNameKey = "synced"; BookmarkCodec 25 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kVersionKey = "version"; BookmarkCodec 26 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kChecksumKey = "checksum"; BookmarkCodec 27 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kIdKey = "id"; BookmarkCodec 28 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kTypeKey = "type"; BookmarkCodec 29 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kNameKey = "name"; BookmarkCodec 30 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kDateAddedKey = "date_added"; BookmarkCodec 31 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kURLKey = "url"; BookmarkCodec 32 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kDateModifiedKey = "date_modified"; BookmarkCodec 33 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kChildrenKey = "children"; BookmarkCodec 34 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kMetaInfo = "meta_info"; BookmarkCodec 35 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kSyncTransactionVersion = "sync_transaction_version"; BookmarkCodec 36 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kTypeURL = "url"; BookmarkCodec 37 chrome/browser/bookmarks/bookmark_codec.cc const char* BookmarkCodec::kTypeFolder = "folder"; BookmarkCodec 42 chrome/browser/bookmarks/bookmark_codec.cc BookmarkCodec::BookmarkCodec() BookmarkCodec 50 chrome/browser/bookmarks/bookmark_codec.cc BookmarkCodec::~BookmarkCodec() {} BookmarkCodec 52 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::Encode(BookmarkModel* model) { BookmarkCodec 60 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::Encode( BookmarkCodec 90 chrome/browser/bookmarks/bookmark_codec.cc bool BookmarkCodec::Decode(BookmarkNode* bb_node, BookmarkCodec 112 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::EncodeNode(const BookmarkNode* node) { BookmarkCodec 148 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::EncodeMetaInfo( BookmarkCodec 158 chrome/browser/bookmarks/bookmark_codec.cc bool BookmarkCodec::DecodeHelper(BookmarkNode* bb_node, BookmarkCodec 247 chrome/browser/bookmarks/bookmark_codec.cc bool BookmarkCodec::DecodeChildren(const base::ListValue& child_value_list, BookmarkCodec 263 chrome/browser/bookmarks/bookmark_codec.cc bool BookmarkCodec::DecodeNode(const base::DictionaryValue& value, BookmarkCodec 373 chrome/browser/bookmarks/bookmark_codec.cc bool BookmarkCodec::DecodeMetaInfo(const base::DictionaryValue& value, BookmarkCodec 421 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::DecodeMetaInfoHelper( BookmarkCodec 436 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::ReassignIDs(BookmarkNode* bb_node, BookmarkCodec 446 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::ReassignIDsHelper(BookmarkNode* node) { BookmarkCodec 453 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::UpdateChecksum(const std::string& str) { BookmarkCodec 457 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::UpdateChecksum(const base::string16& str) { BookmarkCodec 464 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::UpdateChecksumWithUrlNode(const std::string& id, BookmarkCodec 474 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::UpdateChecksumWithFolderNode(const std::string& id, BookmarkCodec 481 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::InitializeChecksum() { BookmarkCodec 485 chrome/browser/bookmarks/bookmark_codec.cc void BookmarkCodec::FinalizeChecksum() { BookmarkCodec 28 chrome/browser/bookmarks/bookmark_codec.h class BookmarkCodec { BookmarkCodec 34 chrome/browser/bookmarks/bookmark_codec.h BookmarkCodec(); BookmarkCodec 35 chrome/browser/bookmarks/bookmark_codec.h ~BookmarkCodec(); BookmarkCodec 205 chrome/browser/bookmarks/bookmark_codec.h DISALLOW_COPY_AND_ASSIGN(BookmarkCodec); BookmarkCodec 105 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_TRUE(d_value->Get(BookmarkCodec::kRootsKey, &roots)); BookmarkCodec 111 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_TRUE(roots_d_value->Get(BookmarkCodec::kRootFolderNameKey, BookmarkCodec 118 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_TRUE(bb_d_value->Get(BookmarkCodec::kChildrenKey, BookmarkCodec 132 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkCodec encoder; BookmarkCodec 150 chrome/browser/bookmarks/bookmark_codec_unittest.cc bool Decode(BookmarkCodec* codec, BookmarkCodec 171 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkCodec decoder; BookmarkCodec 257 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_TRUE(child1_value->GetString(BookmarkCodec::kNameKey, &title)); BookmarkCodec 258 chrome/browser/bookmarks/bookmark_codec_unittest.cc child1_value->SetString(BookmarkCodec::kNameKey, title + "1"); BookmarkCodec 265 chrome/browser/bookmarks/bookmark_codec_unittest.cc child1_value->SetString(BookmarkCodec::kNameKey, title); BookmarkCodec 289 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_TRUE(child_value->GetString(BookmarkCodec::kIdKey, &id)); BookmarkCodec 290 chrome/browser/bookmarks/bookmark_codec_unittest.cc child_value->SetString(BookmarkCodec::kIdKey, "1"); BookmarkCodec 311 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkCodec encoder; BookmarkCodec 315 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkCodec decoder; BookmarkCodec 331 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkCodec encoder2; BookmarkCodec 335 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkCodec decoder2; BookmarkCodec 351 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkCodec decoder; BookmarkCodec 439 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkCodec decoder; BookmarkCodec 108 chrome/browser/bookmarks/bookmark_html_writer.cc BookmarkCodec::kRootsKey, &roots) || BookmarkCodec 119 chrome/browser/bookmarks/bookmark_html_writer.cc if (!roots_d_value->Get(BookmarkCodec::kRootFolderNameKey, BookmarkCodec 122 chrome/browser/bookmarks/bookmark_html_writer.cc !roots_d_value->Get(BookmarkCodec::kOtherBookmarkFolderNameKey, BookmarkCodec 125 chrome/browser/bookmarks/bookmark_html_writer.cc !roots_d_value->Get(BookmarkCodec::kMobileBookmarkFolderNameKey, BookmarkCodec 247 chrome/browser/bookmarks/bookmark_html_writer.cc if (!value.GetString(BookmarkCodec::kNameKey, &title) || BookmarkCodec 248 chrome/browser/bookmarks/bookmark_html_writer.cc !value.GetString(BookmarkCodec::kDateAddedKey, &date_added_string) || BookmarkCodec 249 chrome/browser/bookmarks/bookmark_html_writer.cc !value.GetString(BookmarkCodec::kTypeKey, &type_string) || BookmarkCodec 250 chrome/browser/bookmarks/bookmark_html_writer.cc (type_string != BookmarkCodec::kTypeURL && BookmarkCodec 251 chrome/browser/bookmarks/bookmark_html_writer.cc type_string != BookmarkCodec::kTypeFolder)) { BookmarkCodec 256 chrome/browser/bookmarks/bookmark_html_writer.cc if (type_string == BookmarkCodec::kTypeURL) { BookmarkCodec 258 chrome/browser/bookmarks/bookmark_html_writer.cc if (!value.GetString(BookmarkCodec::kURLKey, &url_string)) { BookmarkCodec 295 chrome/browser/bookmarks/bookmark_html_writer.cc if (!value.GetString(BookmarkCodec::kDateModifiedKey, BookmarkCodec 297 chrome/browser/bookmarks/bookmark_html_writer.cc !value.Get(BookmarkCodec::kChildrenKey, &child_values) || BookmarkCodec 437 chrome/browser/bookmarks/bookmark_html_writer.cc BookmarkCodec codec; BookmarkCodec 65 chrome/browser/bookmarks/bookmark_storage.cc BookmarkCodec codec; BookmarkCodec 159 chrome/browser/bookmarks/bookmark_storage.cc BookmarkCodec codec;