Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Unified Diff: chrome/browser/extensions/app_notification_manager.cc

Issue 10698141: Revert 145993 - [Sync] Add location parameter to SyncChange in Sync API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/app_notification_manager_sync_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/app_notification_manager.cc
===================================================================
--- chrome/browser/extensions/app_notification_manager.cc (revision 145994)
+++ chrome/browser/extensions/app_notification_manager.cc (working copy)
@@ -338,9 +338,7 @@
for (SyncDataMap::const_iterator iter = local_data_map.begin();
iter != local_data_map.end(); ++iter) {
new_changes.push_back(
- syncer::SyncChange(FROM_HERE,
- syncer::SyncChange::ACTION_ADD,
- iter->second));
+ syncer::SyncChange(syncer::SyncChange::ACTION_ADD, iter->second));
}
syncer::SyncError error;
@@ -496,9 +494,7 @@
syncer::SyncChangeList changes;
syncer::SyncData sync_data = CreateSyncDataFromNotification(notif);
changes.push_back(
- syncer::SyncChange(FROM_HERE,
- syncer::SyncChange::ACTION_ADD,
- sync_data));
+ syncer::SyncChange(syncer::SyncChange::ACTION_ADD, sync_data));
sync_processor_->ProcessSyncChanges(FROM_HERE, changes);
}
@@ -513,9 +509,7 @@
syncer::SyncChangeList changes;
syncer::SyncData sync_data = CreateSyncDataFromNotification(notif);
changes.push_back(
- syncer::SyncChange(FROM_HERE,
- syncer::SyncChange::ACTION_DELETE,
- sync_data));
+ syncer::SyncChange(syncer::SyncChange::ACTION_DELETE, sync_data));
sync_processor_->ProcessSyncChanges(FROM_HERE, changes);
}
@@ -535,7 +529,6 @@
if (notif.is_local())
continue;
changes.push_back(syncer::SyncChange(
- FROM_HERE,
syncer::SyncChange::ACTION_DELETE,
CreateSyncDataFromNotification(notif)));
}
« no previous file with comments | « no previous file | chrome/browser/extensions/app_notification_manager_sync_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698