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

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

Issue 10766016: [Sync] Add location parameter to SyncChange in Sync API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: F 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
Index: chrome/browser/extensions/app_sync_bundle.cc
diff --git a/chrome/browser/extensions/app_sync_bundle.cc b/chrome/browser/extensions/app_sync_bundle.cc
index af26282cae193a5bb54e4d9492808839877b2080..e5cc6a105e02917738b28c97262992eaa5dbc96f 100644
--- a/chrome/browser/extensions/app_sync_bundle.cc
+++ b/chrome/browser/extensions/app_sync_bundle.cc
@@ -60,10 +60,14 @@ void AppSyncBundle::ProcessDeletion(std::string extension_id,
syncer::SyncChange AppSyncBundle::CreateSyncChange(
const syncer::SyncData& sync_data) {
if (HasExtensionId(sync_data.GetTag())) {
- return syncer::SyncChange(syncer::SyncChange::ACTION_UPDATE, sync_data);
+ return syncer::SyncChange(FROM_HERE,
+ syncer::SyncChange::ACTION_UPDATE,
+ sync_data);
} else {
AddApp(sync_data.GetTag());
- return syncer::SyncChange(syncer::SyncChange::ACTION_ADD, sync_data);
+ return syncer::SyncChange(FROM_HERE,
+ syncer::SyncChange::ACTION_ADD,
+ sync_data);
}
}

Powered by Google App Engine
This is Rietveld 408576698