OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BookmarkCodec
(Results
1 - 11
of
11
) sorted by null
/external/chromium/chrome/browser/bookmarks/
bookmark_codec.cc
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"
[
all
...]
bookmark_codec.h
5
//
BookmarkCodec
is responsible for encoding and decoding the BookmarkModel
26
//
BookmarkCodec
is responsible for encoding/decoding bookmarks into JSON
27
// values.
BookmarkCodec
is used by BookmarkService.
29
class
BookmarkCodec
{
35
BookmarkCodec
();
36
~
BookmarkCodec
();
162
DISALLOW_COPY_AND_ASSIGN(
BookmarkCodec
);
bookmark_codec_unittest.cc
68
ASSERT_TRUE(d_value->Get(
BookmarkCodec
::kRootsKey, &roots));
73
ASSERT_TRUE(roots_d_value->Get(
BookmarkCodec
::kRootFolderNameKey,
79
ASSERT_TRUE(bb_d_value->Get(
BookmarkCodec
::kChildrenKey,
92
BookmarkCodec
encoder;
110
bool Decode(
BookmarkCodec
* codec, BookmarkModel* model, const Value& value) {
123
BookmarkCodec
decoder;
206
ASSERT_TRUE(child1_value->GetString(
BookmarkCodec
::kNameKey, &title));
207
child1_value->SetString(
BookmarkCodec
::kNameKey, title + "1");
214
child1_value->SetString(
BookmarkCodec
::kNameKey, title);
237
ASSERT_TRUE(child_value->GetString(
BookmarkCodec
::kIdKey, &id))
[
all
...]
bookmark_html_writer.cc
108
BookmarkCodec
::kRootsKey, &roots) ||
117
if (!roots_d_value->Get(
BookmarkCodec
::kRootFolderNameKey,
120
!roots_d_value->Get(
BookmarkCodec
::kOtherBookmarkFolderNameKey,
231
if (!value.GetString(
BookmarkCodec
::kNameKey, &title) ||
232
!value.GetString(
BookmarkCodec
::kDateAddedKey, &date_added_string) ||
233
!value.GetString(
BookmarkCodec
::kTypeKey, &type_string) ||
234
(type_string !=
BookmarkCodec
::kTypeURL &&
235
type_string !=
BookmarkCodec
::kTypeFolder)) {
240
if (type_string ==
BookmarkCodec
::kTypeURL) {
242
if (!value.GetString(
BookmarkCodec
::kURLKey, &url_string))
[
all
...]
bookmark_storage.cc
69
BookmarkCodec
codec;
203
BookmarkCodec
codec;
/external/chromium_org/chrome/browser/bookmarks/
bookmark_codec.cc
20
const char*
BookmarkCodec
::kRootsKey = "roots";
21
const char*
BookmarkCodec
::kRootFolderNameKey = "bookmark_bar";
22
const char*
BookmarkCodec
::kOtherBookmarkFolderNameKey = "other";
24
const char*
BookmarkCodec
::kMobileBookmarkFolderNameKey = "synced";
25
const char*
BookmarkCodec
::kVersionKey = "version";
26
const char*
BookmarkCodec
::kChecksumKey = "checksum";
27
const char*
BookmarkCodec
::kIdKey = "id";
28
const char*
BookmarkCodec
::kTypeKey = "type";
29
const char*
BookmarkCodec
::kNameKey = "name";
30
const char*
BookmarkCodec
::kDateAddedKey = "date_added"
[
all
...]
bookmark_codec.h
25
//
BookmarkCodec
is responsible for encoding and decoding the BookmarkModel
28
class
BookmarkCodec
{
34
BookmarkCodec
();
35
~
BookmarkCodec
();
205
DISALLOW_COPY_AND_ASSIGN(
BookmarkCodec
);
bookmark_html_writer.cc
109
BookmarkCodec
::kRootsKey, &roots) ||
119
if (!roots_d_value->Get(
BookmarkCodec
::kRootFolderNameKey,
122
!roots_d_value->Get(
BookmarkCodec
::kOtherBookmarkFolderNameKey,
125
!roots_d_value->Get(
BookmarkCodec
::kMobileBookmarkFolderNameKey,
248
if (!value.GetString(
BookmarkCodec
::kNameKey, &title) ||
249
!value.GetString(
BookmarkCodec
::kDateAddedKey, &date_added_string) ||
250
!value.GetString(
BookmarkCodec
::kTypeKey, &type_string) ||
251
(type_string !=
BookmarkCodec
::kTypeURL &&
252
type_string !=
BookmarkCodec
::kTypeFolder)) {
257
if (type_string ==
BookmarkCodec
::kTypeURL)
[
all
...]
bookmark_codec_unittest.cc
103
ASSERT_TRUE(d_value->Get(
BookmarkCodec
::kRootsKey, &roots));
108
ASSERT_TRUE(roots_d_value->Get(
BookmarkCodec
::kRootFolderNameKey,
114
ASSERT_TRUE(bb_d_value->Get(
BookmarkCodec
::kChildrenKey,
127
BookmarkCodec
encoder;
145
bool Decode(
BookmarkCodec
* codec, BookmarkModel* model, const Value& value) {
164
BookmarkCodec
decoder;
248
ASSERT_TRUE(child1_value->GetString(
BookmarkCodec
::kNameKey, &title));
249
child1_value->SetString(
BookmarkCodec
::kNameKey, title + "1");
256
child1_value->SetString(
BookmarkCodec
::kNameKey, title);
279
ASSERT_TRUE(child_value->GetString(
BookmarkCodec
::kIdKey, &id))
[
all
...]
bookmark_storage.cc
65
BookmarkCodec
codec;
159
BookmarkCodec
codec;
/external/chromium/chrome/browser/history/
starred_url_database.cc
618
BookmarkCodec
encoder;
Completed in 114 milliseconds