summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 22:43:00 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 22:43:00 +0000
commit2ee9fa27603c5110e21fcf172adb52ec483b66d6 (patch)
treee5a6b4eb5a0916e6bb0ab79966522e2f6b556be7 /sync
parent4e4a051e22d6e51d79c2abe46ad5a601ea786f6e (diff)
downloadchromium_src-2ee9fa27603c5110e21fcf172adb52ec483b66d6.zip
chromium_src-2ee9fa27603c5110e21fcf172adb52ec483b66d6.tar.gz
chromium_src-2ee9fa27603c5110e21fcf172adb52ec483b66d6.tar.bz2
Two changes to history delete directive processing
1. For global ID delete directive, remove all visits to a URL within delete directive's time range if one of them matches with a global ID instead of removing only the visits identified by global IDs currently. 2. Drop processed directives after processing because they only need to be processed once. Patch originally by haitaol@chromium.org Original review at https://codereview.chromium.org/12224044/ TBR=brettw@chromium.org, akalin@chromium.org, dubroy@chromium.org, haitaol@chromium.org BUG=177080 Review URL: https://chromiumcodereview.appspot.com/12476006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r--sync/api/sync_data.h2
-rw-r--r--sync/api/syncable_service.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sync/api/sync_data.h b/sync/api/sync_data.h
index c3404c3..33e41a8 100644
--- a/sync/api/sync_data.h
+++ b/sync/api/sync_data.h
@@ -117,6 +117,8 @@ class SYNC_EXPORT SyncData {
// gmock printer helper.
void PrintTo(const SyncData& sync_data, std::ostream* os);
+typedef std::vector<SyncData> SyncDataList;
+
} // namespace syncer
#endif // SYNC_API_SYNC_DATA_H_
diff --git a/sync/api/syncable_service.h b/sync/api/syncable_service.h
index 8d187fc..13c282ef 100644
--- a/sync/api/syncable_service.h
+++ b/sync/api/syncable_service.h
@@ -21,8 +21,6 @@ namespace syncer {
class SyncErrorFactory;
-typedef std::vector<SyncData> SyncDataList;
-
// TODO(zea): remove SupportsWeakPtr in favor of having all SyncableService
// implementers provide a way of getting a weak pointer to themselves.
// See crbug.com/100114.