HomeSort by relevance Sort by last modified time
    Searched refs:syncable (Results 1 - 25 of 244) sorted by null

1 2 3 4 5 6 7 8 910

  /external/chromium/chrome/browser/sync/engine/
build_and_process_conflict_sets_command.cc 17 #include "chrome/browser/sync/syncable/directory_manager.h"
40 syncable::ScopedDirLookup dir(session->context()->directory_manager(),
46 syncable::WriteTransaction trans(dir, syncable::SYNCER, __FILE__, __LINE__);
61 syncable::WriteTransaction* trans, ConflictResolver* resolver,
74 syncable::Entry entry(trans, syncable::GET_BY_ID, *i);
76 if (entry.Get(syncable::IS_UNSYNCED))
78 if (entry.Get(syncable::IS_UNAPPLIED_UPDATE))
95 void StoreLocalDataForUpdateRollback(syncable::Entry* entry
    [all...]
syncer_util.h 5 // Utility functions manipulating syncable::Entries, intended for use by the
19 #include "chrome/browser/sync/syncable/syncable.h"
20 #include "chrome/browser/sync/syncable/syncable_id.h"
30 syncable::WriteTransaction* trans,
31 syncable::MutableEntry* entry,
32 const syncable::Id& new_id,
33 syncable::Directory::ChildHandles* children);
36 static int GetUnsyncedEntries(syncable::BaseTransaction* trans,
39 static void ChangeEntryIDAndUpdateChildren(syncable::WriteTransaction* trans
    [all...]
process_commit_response_command.h 16 namespace syncable { namespace
36 syncable::WriteTransaction* trans,
39 const syncable::Id& pre_commit_id,
40 std::set<syncable::Id>* conflicting_new_directory_ids,
41 std::set<syncable::Id>* deleted_folders);
49 const syncable::Id& pre_commit_id, syncable::MutableEntry* local_entry,
50 bool syncing_was_set, std::set<syncable::Id>* deleted_folders);
57 const syncable::Id& pre_commit_id,
58 syncable::MutableEntry* local_entry)
    [all...]
cleanup_disabled_types_command_unittest.cc 22 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
23 i < syncable::MODEL_TYPE_COUNT; i++) {
24 all_types_.insert(syncable::ModelTypeFromInt(i));
29 (*mutable_routing_info())[syncable::BOOKMARKS] = GROUP_PASSIVE;
38 const syncable::ModelTypeSet& all_types() { return all_types_; }
41 syncable::ModelTypeSet all_types_;
47 syncable::ModelTypeSet expected(all_types());
48 expected.erase(syncable::BOOKMARKS);
59 (*mutable_routing_info())[syncable::AUTOFILL] = GROUP_PASSIVE;
68 syncable::ModelTypeSet expected
    [all...]
build_and_process_conflict_sets_command.h 15 namespace syncable { namespace
21 } // namespace syncable
45 syncable::WriteTransaction* trans, ConflictResolver* resolver,
49 syncable::WriteTransaction* trans,
50 const std::vector<syncable::Id>* const update_set,
55 void BuildConflictSets(syncable::BaseTransaction* trans,
58 void MergeSetsForNameClash(syncable::BaseTransaction* trans,
59 syncable::Entry* entry,
61 void MergeSetsForIntroducedLoops(syncable::BaseTransaction* trans,
62 syncable::Entry* entry
    [all...]
get_commit_ids_command.cc 12 #include "chrome/browser/sync/syncable/syncable.h"
31 syncable::Directory::UnsyncedMetaHandles all_unsynced_handles;
40 const vector<syncable::Id>& verified_commit_ids =
50 syncable::BaseTransaction* trans,
51 syncable::Id parent_id,
53 using namespace syncable;
76 bool GetCommitIdsCommand::AddItem(syncable::Entry* item,
78 int64 item_handle = item->Get(syncable::META_HANDLE);
83 result->AddCommitItem(item_handle, item->Get(syncable::ID)
    [all...]
conflict_resolver.cc 14 #include "chrome/browser/sync/syncable/directory_manager.h"
15 #include "chrome/browser/sync/syncable/syncable.h"
20 using syncable::BaseTransaction;
21 using syncable::Directory;
22 using syncable::Entry;
23 using syncable::Id;
24 using syncable::MutableEntry;
25 using syncable::ScopedDirLookup;
26 using syncable::WriteTransaction
    [all...]
conflict_resolver.h 20 namespace syncable { namespace
26 } // namespace syncable
42 bool ResolveConflicts(const syncable::ScopedDirLookup& dir,
52 typedef std::map<syncable::Id, int> SimpleConflictCountMap;
63 void IgnoreLocalChanges(syncable::MutableEntry* entry);
64 void OverwriteServerChanges(syncable::WriteTransaction* trans,
65 syncable::MutableEntry* entry);
68 syncable::WriteTransaction* trans,
69 const syncable::Id& id);
71 bool ResolveSimpleConflicts(const syncable::ScopedDirLookup& dir
    [all...]
syncproto.h 15 #include "chrome/browser/sync/syncable/model_type.h"
16 #include "chrome/browser/sync/syncable/syncable_id.h"
26 syncable::Id id() const {
27 return syncable::Id::CreateFromServerId(Base::id_string());
29 void set_id(const syncable::Id& id) {
43 void set_parent_id(const syncable::Id& id) {
46 syncable::Id parent_id() const {
47 return syncable::Id::CreateFromServerId(parent_id_string());
49 void set_old_parent_id(const syncable::Id& id) {
53 syncable::Id old_parent_id() const
    [all...]
download_updates_command_unittest.cc 10 #include "chrome/browser/sync/syncable/directory_manager.h"
16 using syncable::FIRST_REAL_MODEL_TYPE;
17 using syncable::MODEL_TYPE_COUNT;
32 virtual void SetRoutingInfo(const syncable::ModelTypeSet& types) {
33 for (syncable::ModelTypeSet::const_iterator iter = types.begin();
47 syncable::ModelTypeBitSet enabled_types;
48 enabled_types[syncable::BOOKMARKS] = true;
49 enabled_types[syncable::AUTOFILL] = true;
50 enabled_types[syncable::PREFERENCES] = true;
62 syncable::ModelTypeBitSet enabled_types
    [all...]
post_commit_message_command.cc 12 #include "chrome/browser/sync/syncable/directory_manager.h"
25 syncable::ScopedDirLookup dir(session->context()->directory_manager(),
37 syncable::WriteTransaction trans(dir, syncable::SYNCER, __FILE__, __LINE__);
38 const vector<syncable::Id>& commit_ids = status->commit_ids();
40 syncable::MutableEntry entry(&trans, syncable::GET_BY_ID, commit_ids[i]);
41 entry.Put(syncable::SYNCING, false);
verify_updates_command_unittest.cc 8 #include "chrome/browser/sync/syncable/directory_manager.h"
10 #include "chrome/browser/sync/syncable/syncable.h"
11 #include "chrome/browser/sync/syncable/syncable_id.h"
20 using syncable::Entry;
21 using syncable::Id;
22 using syncable::MutableEntry;
23 using syncable::ReadTransaction;
24 using syncable::ScopedDirLookup;
25 using syncable::UNITTEST
    [all...]
get_commit_ids_command.h 34 syncable::WriteTransaction* write_transaction,
45 syncable::WriteTransaction* write_transaction,
90 syncable::MutableEntry entry(write_transaction_,
91 syncable::GET_BY_HANDLE, metahandle);
96 entry.Put(syncable::IS_UNSYNCED, false);
101 syncable::WriteTransaction* const write_transaction_;
111 syncable::BaseTransaction* trans,
112 syncable::Id parent_id,
118 bool AddItem(syncable::Entry* item, sessions::OrderedCommitSet* result);
119 bool AddItemThenPredecessors(syncable::BaseTransaction* trans
    [all...]
cleanup_disabled_types_command.cc 9 #include "chrome/browser/sync/syncable/directory_manager.h"
10 #include "chrome/browser/sync/syncable/model_type.h"
11 #include "chrome/browser/sync/syncable/syncable.h"
19 syncable::ModelTypeSet to_cleanup;
20 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
21 i < syncable::MODEL_TYPE_COUNT; i++) {
22 syncable::ModelType model_type = syncable::ModelTypeFromInt(i);
52 syncable::ScopedDirLookup dir(session->context()->directory_manager()
    [all...]
apply_updates_command.cc 9 #include "chrome/browser/sync/syncable/directory_manager.h"
10 #include "chrome/browser/sync/syncable/syncable.h"
20 syncable::ScopedDirLookup dir(session->context()->directory_manager(),
26 syncable::WriteTransaction trans(dir, syncable::SYNCER, __FILE__, __LINE__);
27 syncable::Directory::UnappliedUpdateMetaHandles handles;
44 syncable::ScopedDirLookup dir(session->context()->directory_manager(),
51 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
52 i < syncable::MODEL_TYPE_COUNT; ++i)
    [all...]
  /external/chromium/chrome/browser/sync/syncable/
syncable_mock.h 11 #include "chrome/browser/sync/syncable/syncable.h"
15 using syncable::Directory;
16 using syncable::EntryKernel;
23 MOCK_METHOD1(GetEntryByHandle, syncable::EntryKernel*(int64));
25 MOCK_METHOD2(set_last_downloadstamp, void(syncable::ModelType, int64));
28 syncable::EntryKernel*(const std::string&));
31 class MockSyncableWriteTransaction : public syncable::WriteTransaction {
directory_event.h 9 namespace syncable { namespace
20 } // namespace syncable
syncable_changes_version.h 9 namespace syncable { namespace
28 } // namespace syncable
blob.h 13 namespace syncable { namespace
17 } // namespace syncable
syncable-inl.h 9 namespace syncable { namespace
14 inline bool operator() (const syncable::EntryKernel* a,
15 const syncable::EntryKernel* b) const {
20 } // namespace syncable
  /external/chromium/chrome/browser/sync/
abstract_profile_sync_service_test.cc 15 #include "chrome/browser/sync/syncable/directory_manager.h"
16 #include "chrome/browser/sync/syncable/syncable.h"
24 using syncable::BASE_VERSION;
25 using syncable::CREATE;
26 using syncable::DirectoryManager;
27 using syncable::IS_DEL;
28 using syncable::IS_DIR;
29 using syncable::IS_UNAPPLIED_UPDATE;
30 using syncable::IS_UNSYNCED
    [all...]
profile_sync_factory_impl_unittest.cc 36 static std::vector<syncable::ModelType> DefaultDatatypes() {
37 std::vector<syncable::ModelType> datatypes;
38 datatypes.push_back(syncable::BOOKMARKS);
39 datatypes.push_back(syncable::PREFERENCES);
40 datatypes.push_back(syncable::AUTOFILL);
41 datatypes.push_back(syncable::THEMES);
42 datatypes.push_back(syncable::EXTENSIONS);
43 datatypes.push_back(syncable::APPS);
44 datatypes.push_back(syncable::AUTOFILL_PROFILE);
45 datatypes.push_back(syncable::PASSWORDS)
    [all...]
js_sync_manager_observer_unittest.cc 15 #include "chrome/browser/sync/syncable/model_type.h"
63 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
64 i < syncable::MODEL_TYPE_COUNT; ++i) {
66 syncable::ModelTypeToString(syncable::ModelTypeFromInt(i));
74 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
75 i < syncable::MODEL_TYPE_COUNT; ++i) {
76 sync_manager_observer_.OnChangesComplete(syncable::ModelTypeFromInt(i));
81 std::string download_progress_markers[syncable::MODEL_TYPE_COUNT];
86 syncable::ModelTypeBitSet()
    [all...]
  /external/chromium/chrome/browser/sync/notifier/
registration_manager.h 18 #include "chrome/browser/sync/syncable/model_type.h"
57 typedef std::map<syncable::ModelType, PendingRegistrationInfo>
68 void SetRegisteredTypes(const syncable::ModelTypeSet& types);
72 void MarkRegistrationLost(syncable::ModelType model_type);
80 syncable::ModelTypeSet GetRegisteredTypes() const;
112 syncable::ModelType model_type;
136 void TryRegisterType(syncable::ModelType model_type,
143 void DoRegisterType(syncable::ModelType model_type);
146 void UnregisterType(syncable::ModelType model_type);
149 bool IsTypeRegistered(syncable::ModelType model_type) const
    [all...]
registration_manager.cc 13 #include "chrome/browser/sync/syncable/model_type.h"
20 : model_type(syncable::UNSPECIFIED),
27 DCHECK_NE(model_type, syncable::UNSPECIFIED);
49 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
50 i < syncable::MODEL_TYPE_COUNT; ++i) {
51 syncable::ModelType model_type = syncable::ModelTypeFromInt(i);
63 const syncable::ModelTypeSet& types) {
66 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
67 i < syncable::MODEL_TYPE_COUNT; ++i)
    [all...]

Completed in 1090 milliseconds

1 2 3 4 5 6 7 8 910