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

Unified Diff: chrome/browser/history/history.h

Issue 11299218: [Sync] Implement processing of history delete directives (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/history/history.cc » ('j') | chrome/browser/history/history.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.h
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index 0f5fd1efaf584559f8bd2dab9ce3b0639513fe33..9eae2ffc02864bb0282a1b38ebb68829c09517ab 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -9,8 +9,10 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/bind.h"
#include "base/callback.h"
#include "base/file_path.h"
+#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -624,6 +626,9 @@ class HistoryService : public CancelableRequestProvider,
base::WeakPtr<HistoryService> AsWeakPtr();
+ void ProcessDeleteDirectiveForTest(
+ const sync_pb::HistoryDeleteDirectiveSpecifics& delete_directive);
+
// syncer::SyncableService implementation.
virtual syncer::SyncMergeResult MergeDataAndStartSyncing(
syncer::ModelType type,
@@ -856,6 +861,10 @@ class HistoryService : public CancelableRequestProvider,
void ProcessDeleteDirective(
const sync_pb::HistoryDeleteDirectiveSpecifics& delete_directive);
+ // Called when a delete directive has been processed.
+ void OnDeleteDirectiveProcessed(
+ const sync_pb::HistoryDeleteDirectiveSpecifics& delete_directive);
+
// Schedule ------------------------------------------------------------------
//
// Functions for scheduling operations on the history thread that have a
« no previous file with comments | « no previous file | chrome/browser/history/history.cc » ('j') | chrome/browser/history/history.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698