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

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: Address comments 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') | no next file with comments »
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 a60add5cc4b0862b314c49a6b8ea62b9a1cfdbd2..34612bcdb492bfd71d3635cd21923ec92cc2ab91 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"
@@ -623,6 +625,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,
@@ -855,6 +860,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698