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

1 2 3 4

  /external/chromium_org/chrome/browser/sessions/
session_types.cc 25 void SessionTab::SetFromSyncData(const sync_pb::SessionTab& sync_data,
27 window_id.set_id(sync_data.window_id());
28 tab_id.set_id(sync_data.tab_id());
29 tab_visual_index = sync_data.tab_visual_index();
30 current_navigation_index = sync_data.current_navigation_index();
31 pinned = sync_data.pinned();
32 extension_app_id = sync_data.extension_app_id();
36 for (int i = 0; i < sync_data.navigation_size(); ++i) {
38 SerializedNavigationEntry::FromSyncData(i, sync_data.navigation(i)));
44 sync_pb::SessionTab sync_data; local
    [all...]
session_types_unittest.cc 46 sync_pb::SessionTab sync_data; local
47 sync_data.set_tab_id(5);
48 sync_data.set_window_id(10);
49 sync_data.set_tab_visual_index(13);
50 sync_data.set_current_navigation_index(3);
51 sync_data.set_pinned(true);
52 sync_data.set_extension_app_id("app_id");
54 sync_pb::TabNavigation* navigation = sync_data.add_navigation();
73 tab.SetFromSyncData(sync_data, base::Time::FromInternalValue(5u));
112 const sync_pb::SessionTab& sync_data = tab.ToSyncData() local
    [all...]
  /external/chromium_org/components/sessions/
serialized_navigation_entry.cc 64 const sync_pb::TabNavigation& sync_data) {
67 navigation.unique_id_ = sync_data.unique_id();
69 content::Referrer(GURL(sync_data.referrer()),
71 navigation.virtual_url_ = GURL(sync_data.virtual_url());
72 navigation.title_ = UTF8ToUTF16(sync_data.title());
74 content::PageState::CreateFromEncodedData(sync_data.state());
77 if (sync_data.has_page_transition()) {
78 switch (sync_data.page_transition()) {
119 if (sync_data.has_redirect_type()) {
120 switch (sync_data.redirect_type())
367 sync_pb::TabNavigation sync_data; local
    [all...]
serialized_navigation_entry_unittest.cc 78 sync_pb::TabNavigation sync_data; local
79 sync_data.set_virtual_url(kVirtualURL.spec());
80 sync_data.set_referrer(kReferrer.url.spec());
81 sync_data.set_title(UTF16ToUTF8(kTitle));
82 sync_data.set_state(kPageState.ToEncodedData());
83 sync_data.set_page_transition(
85 sync_data.set_unique_id(kUniqueID);
86 sync_data.set_timestamp_msec(syncer::TimeToProtoTime(kTimestamp));
87 sync_data.set_redirect_type(sync_pb::SyncEnums::CLIENT_REDIRECT);
88 sync_data.set_navigation_home_page(true)
148 const sync_pb::TabNavigation sync_data = MakeSyncDataForTest(); local
249 const sync_pb::TabNavigation sync_data = navigation.ToSyncData(); local
287 const sync_pb::TabNavigation& sync_data = navigation.ToSyncData(); local
    [all...]
  /system/core/libsync/
sync_test.c 36 struct sync_thread_data *sync_data = data; local
42 err = sync_wait(sync_data->fd[i], 10000);
46 printf("thread %d wait %d failed: %s\n", sync_data->thread_no,
49 printf("thread %d wait %d done\n", sync_data->thread_no, i);
51 info = sync_fence_info(sync_data->fd[i]);
77 struct sync_thread_data sync_data[4]; local
90 sync_data[i].thread_no = i;
100 sync_data[i].fd[j] = fd;
101 printf("sync_data[%d].fd[%d] = %d;\n", i, j, fd);
106 sync_data[3].thread_no = 3
    [all...]
  /external/chromium_org/chrome/browser/extensions/
app_sync_data_unittest.cc 45 syncer::SyncData sync_data = local
48 AppSyncData app_sync_data(sync_data);
67 syncer::SyncData sync_data = local
69 AppSyncData app_sync_data(sync_data);
72 EXPECT_TRUE(sync_data.GetSpecifics().has_app());
89 syncer::SyncData sync_data = local
93 AppSyncData app_sync_data(sync_data);
app_sync_data.cc 8 #include "sync/api/sync_data.h"
16 AppSyncData::AppSyncData(const syncer::SyncData& sync_data) {
17 PopulateFromSyncData(sync_data);
21 PopulateFromSyncData(sync_change.sync_data());
72 void AppSyncData::PopulateFromSyncData(const syncer::SyncData& sync_data) {
73 PopulateFromAppSpecifics(sync_data.GetSpecifics().app());
extension_sync_data_unittest.cc 35 syncer::SyncData sync_data = local
38 extensions::ExtensionSyncData extension_sync_data(sync_data);
60 syncer::SyncData sync_data = local
62 extensions::ExtensionSyncData extension_sync_data(sync_data);
extension_sync_data.cc 12 #include "sync/api/sync_data.h"
24 ExtensionSyncData::ExtensionSyncData(const syncer::SyncData& sync_data)
28 PopulateFromSyncData(sync_data);
36 PopulateFromSyncData(sync_change.sync_data());
105 const syncer::SyncData& sync_data) {
106 const sync_pb::EntitySpecifics& entity_specifics = sync_data.GetSpecifics();
app_sync_bundle.cc 49 AppSyncData sync_data = extension_sync_service_->GetAppSyncData(*extension); local
50 return sync_data.GetSyncChange(syncer::SyncChange::ACTION_DELETE);
61 const syncer::SyncData& sync_data) {
62 if (HasExtensionId(sync_data.GetTag())) {
65 sync_data);
67 AddApp(sync_data.GetTag());
70 sync_data);
extension_sync_bundle.cc 48 extensions::ExtensionSyncData sync_data = local
50 return sync_data.GetSyncChange(syncer::SyncChange::ACTION_DELETE);
61 const syncer::SyncData& sync_data) {
62 if (HasExtensionId(sync_data.GetTag())) {
65 sync_data);
67 AddExtension(sync_data.GetTag());
70 sync_data);
app_sync_data.h 29 explicit AppSyncData(const syncer::SyncData& sync_data);
65 void PopulateFromSyncData(const syncer::SyncData& sync_data);
extension_sync_data.h 30 explicit ExtensionSyncData(const syncer::SyncData& sync_data);
69 void PopulateFromSyncData(const syncer::SyncData& sync_data);
  /external/chromium_org/sync/api/
sync_change.h 13 #include "sync/api/sync_data.h"
38 const SyncData& sync_data);
53 SyncData sync_data() const;
sync_change_unittest.cc 33 EXPECT_EQ(tag, e.sync_data().GetTag());
34 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType());
48 EXPECT_EQ(tag, e.sync_data().GetTag());
49 EXPECT_EQ(title, e.sync_data().GetTitle());
50 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType());
53 e.sync_data().GetSpecifics()));
68 EXPECT_EQ(tag, e.sync_data().GetTag());
69 EXPECT_EQ(title, e.sync_data().GetTitle());
70 EXPECT_EQ(PREFERENCES, e.sync_data().GetDataType());
73 e.sync_data().GetSpecifics()))
    [all...]
sync_change.cc 17 const SyncData& sync_data)
20 sync_data_(sync_data) {
51 SyncData SyncChange::sync_data() const { function in class:syncer::SyncChange
  /external/chromium_org/chrome/browser/managed_mode/
managed_user_settings_service_unittest.cc 123 void VerifySyncDataItem(syncer::SyncData sync_data) {
125 sync_data.GetSpecifics().managed_user_setting();
259 VerifySyncDataItem(it->sync_data());
263 syncer::SyncDataList sync_data = local
265 EXPECT_EQ(3u, sync_data.size());
266 for (syncer::SyncDataList::const_iterator it = sync_data.begin();
267 it != sync_data.end(); ++it) {
277 VerifySyncDataItem(change.sync_data());
279 sync_data = settings_service_.GetAllSyncData(syncer::MANAGED_USER_SETTINGS);
280 EXPECT_EQ(4u, sync_data.size())
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/storage/
setting_sync_data.cc 9 #include "sync/api/sync_data.h"
18 Init(sync_change.change_type(), sync_change.sync_data());
22 const syncer::SyncData& sync_data) {
23 Init(syncer::SyncChange::ACTION_INVALID, sync_data);
28 const syncer::SyncData& sync_data) {
30 sync_pb::EntitySpecifics specifics = sync_data.GetSpecifics();
setting_sync_data.h 31 explicit SettingSyncData(const syncer::SyncData& sync_data);
77 const syncer::SyncData& sync_data);
settings_backend.cc 50 const base::DictionaryValue& sync_data) const {
75 sync_data,
191 linked_ptr<base::DictionaryValue> sync_data = local
193 if (!sync_data.get()) {
194 sync_data = linked_ptr<base::DictionaryValue>(
196 grouped_sync_data[data.extension_id()] = sync_data;
198 DCHECK(!sync_data->HasKey(data.key())) <<
200 sync_data->SetWithoutPathExpansion(data.key(), data.value().DeepCopy());
  /external/chromium_org/chrome/browser/prefs/
pref_model_associator.cc 145 syncer::SyncData sync_data; local
146 if (!CreatePrefSyncData(pref_name, *new_value, &sync_data)) {
165 (*migrated_preference_list)[pref_name] = sync_data;
171 sync_data));
185 sync_data));
198 syncer::SyncData sync_data; local
199 if (!CreatePrefSyncData(pref_name, *user_pref_value, &sync_data)) {
206 sync_data));
337 syncer::SyncData* sync_data) const {
358 *sync_data = syncer::SyncData::CreateLocalData(name, name, specifics)
447 syncer::SyncData sync_data; local
613 syncer::SyncData sync_data; local
    [all...]
  /external/chromium_org/chrome/browser/themes/
theme_syncable_service.cc 93 for (syncer::SyncDataList::const_reverse_iterator sync_data =
94 initial_sync_data.rbegin(); sync_data != initial_sync_data.rend();
95 ++sync_data) {
96 if (sync_data->GetSpecifics().has_theme()) {
97 MaybeSetTheme(current_specifics, *sync_data);
175 if (theme_change->sync_data().GetSpecifics().has_theme() &&
178 MaybeSetTheme(current_specifics, theme_change->sync_data());
191 const syncer::SyncData& sync_data) {
192 const sync_pb::ThemeSpecifics& sync_theme = sync_data.GetSpecifics().theme();
194 DVLOG(1) << "Set current theme from specifics: " << sync_data.ToString()
    [all...]
  /external/chromium_org/chrome/browser/notifications/sync_notifier/
chrome_notifier_service.cc 79 const syncer::SyncData& sync_data = *it; local
80 DCHECK_EQ(syncer::SYNCED_NOTIFICATIONS, sync_data.GetDataType());
84 sync_data));
122 syncer::SyncData sync_data = CreateSyncDataFromNotification(*found); local
126 sync_data));
135 found->Update(sync_data);
168 syncer::SyncDataList sync_data; local
174 sync_data.push_back(CreateSyncDataFromNotification(**it));
177 return sync_data;
189 syncer::SyncData sync_data = it->sync_data() local
388 syncer::SyncData sync_data = CreateSyncDataFromNotification(*notification); local
    [all...]
  /external/chromium_org/chrome/browser/sync/glue/
generic_change_processor.cc 121 syncer::ModelType type = syncer_changes_[0].sync_data().GetDataType();
270 if (change.sync_data().IsLocal()) {
271 const std::string& tag = change.sync_data().GetTag();
286 node->InitByClientTagLookup(change.sync_data().GetDataType(), tag);
296 node->InitByIdLookup(change.sync_data().GetRemoteId());
328 DCHECK_NE(change.sync_data().GetDataType(), syncer::UNSPECIFIED);
329 syncer::ModelType type = change.sync_data().GetDataType();
349 syncer::ModelTypeToRootTag(change.sync_data().GetDataType())) !=
363 sync_node.InitUniqueByCreation(change.sync_data().GetDataType(),
365 change.sync_data().GetTag())
    [all...]
  /external/chromium_org/components/dom_distiller/core/
article_entry.cc 51 DCHECK(change.sync_data().IsValid());
52 return EntryFromSpecifics(change.sync_data().GetSpecifics());

Completed in 7002 milliseconds

1 2 3 4