OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:client_entity
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/sync/test/fake_server/
unique_client_entity.cc
25
const sync_pb::SyncEntity&
client_entity
) {
26
CHECK(
client_entity
.has_client_defined_unique_tag())
29
syncer::GetModelTypeFromSpecifics(
client_entity
.specifics());
30
string id =
client_entity
.version() == 0 ?
32
client_entity
.id_string();
35
client_entity
.version(),
36
client_entity
.name(),
37
client_entity
.parent_id_string(),
38
client_entity
.client_defined_unique_tag(),
39
client_entity
.specifics()
[
all
...]
bookmark_entity.cc
21
// Returns true if and only if |
client_entity
| is a bookmark.
22
bool IsBookmark(const sync_pb::SyncEntity&
client_entity
) {
23
return syncer::GetModelType(
client_entity
) == syncer::BOOKMARKS;
32
const sync_pb::SyncEntity&
client_entity
,
35
CHECK(
client_entity
.version() == 0) << "New entities must have version = 0.";
36
CHECK(IsBookmark(
client_entity
)) << "The given entity must be a bookmark.";
41
string originator_client_item_id =
client_entity
.id_string();
44
client_entity
.version(),
45
client_entity
.name(),
48
client_entity
.unique_position()
[
all
...]
fake_server.cc
316
const sync_pb::SyncEntity&
client_entity
,
320
if (
client_entity
.version() == 0 &&
client_entity
.deleted()) {
325
if (
client_entity
.deleted()) {
326
entity = TombstoneEntity::Create(
client_entity
.id_string());
329
if (!DeleteChildren(
client_entity
.id_string())) {
332
} else if (GetModelType(
client_entity
) == syncer::NIGORI) {
336
client_entity
,
337
entities_[
client_entity
.id_string()]);
338
} else if (
client_entity
.has_client_defined_unique_tag())
432
sync_pb::SyncEntity
client_entity
= *it;
local
[
all
...]
unique_client_entity.h
23
static FakeServerEntity* CreateNew(const sync_pb::SyncEntity&
client_entity
);
28
const sync_pb::SyncEntity&
client_entity
,
bookmark_entity.h
26
static FakeServerEntity* CreateNew(const sync_pb::SyncEntity&
client_entity
,
35
const sync_pb::SyncEntity&
client_entity
,
permanent_entity.h
36
const sync_pb::SyncEntity&
client_entity
,
permanent_entity.cc
72
const sync_pb::SyncEntity&
client_entity
,
83
client_entity
.specifics());
fake_server.h
107
// parent ID string present in |
client_entity
| should be ignored in favor
111
const sync_pb::SyncEntity&
client_entity
,
Completed in 94 milliseconds