Searched refs:BookmarkCodec (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_codec.cc | 22 const char* BookmarkCodec::kRootsKey = "roots"; 23 const char* BookmarkCodec::kRootFolderNameKey = "bookmark_bar"; 24 const char* BookmarkCodec::kOtherBookmarkFolderNameKey = "other"; 26 const char* BookmarkCodec::kMobileBookmarkFolderNameKey = "synced"; 27 const char* BookmarkCodec::kVersionKey = "version"; 28 const char* BookmarkCodec::kChecksumKey = "checksum"; 29 const char* BookmarkCodec::kIdKey = "id"; 30 const char* BookmarkCodec::kTypeKey = "type"; 31 const char* BookmarkCodec::kNameKey = "name"; 32 const char* BookmarkCodec::kDateAddedKey = "date_added"; [all …]
|
D | bookmark_codec_unittest.cc | 117 ASSERT_TRUE(d_value->Get(BookmarkCodec::kRootsKey, &roots)); in GetBookmarksBarChildValue() 124 roots_d_value->Get(BookmarkCodec::kRootFolderNameKey, &bb_value)); in GetBookmarksBarChildValue() 131 bb_d_value->Get(BookmarkCodec::kChildrenKey, &bb_children_value)); in GetBookmarksBarChildValue() 144 BookmarkCodec encoder; in EncodeHelper() 162 bool Decode(BookmarkCodec* codec, in Decode() 183 BookmarkCodec decoder; in DecodeHelper() 271 ASSERT_TRUE(child1_value->GetString(BookmarkCodec::kNameKey, &title)); in TEST_F() 272 child1_value->SetString(BookmarkCodec::kNameKey, title + "1"); in TEST_F() 279 child1_value->SetString(BookmarkCodec::kNameKey, title); in TEST_F() 303 ASSERT_TRUE(child_value->GetString(BookmarkCodec::kIdKey, &id)); in TEST_F() [all …]
|
D | bookmark_codec.h | 29 class BookmarkCodec { 35 BookmarkCodec(); 36 ~BookmarkCodec(); 206 DISALLOW_COPY_AND_ASSIGN(BookmarkCodec);
|
D | bookmark_storage.cc | 66 BookmarkCodec codec; in LoadCallback() 188 BookmarkCodec codec; in SerializeData()
|
/external/chromium_org/chrome/browser/bookmarks/ |
D | bookmark_html_writer.cc | 31 using bookmarks::BookmarkCodec; 108 BookmarkCodec::kRootsKey, &roots) || in DoWrite() 119 if (!roots_d_value->Get(BookmarkCodec::kRootFolderNameKey, in DoWrite() 122 !roots_d_value->Get(BookmarkCodec::kOtherBookmarkFolderNameKey, in DoWrite() 125 !roots_d_value->Get(BookmarkCodec::kMobileBookmarkFolderNameKey, in DoWrite() 247 if (!value.GetString(BookmarkCodec::kNameKey, &title) || in WriteNode() 248 !value.GetString(BookmarkCodec::kDateAddedKey, &date_added_string) || in WriteNode() 249 !value.GetString(BookmarkCodec::kTypeKey, &type_string) || in WriteNode() 250 (type_string != BookmarkCodec::kTypeURL && in WriteNode() 251 type_string != BookmarkCodec::kTypeFolder)) { in WriteNode() [all …]
|