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

Unified Diff: chrome/browser/sync/internal_api/change_record.h

Issue 7926001: [Sync] Move change-related methods out of SyncManager::Observer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bug in async encryption, sync to head Created 9 years, 3 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/sync/internal_api/change_record.h
diff --git a/chrome/browser/sync/internal_api/change_record.h b/chrome/browser/sync/internal_api/change_record.h
index 1c19d73d21f4192e8aba29a79c7010416d44d73e..6276b9902da92145bb891cb2180acf82993655d1 100644
--- a/chrome/browser/sync/internal_api/change_record.h
+++ b/chrome/browser/sync/internal_api/change_record.h
@@ -9,11 +9,12 @@
#include "base/memory/linked_ptr.h"
#include "chrome/browser/sync/protocol/password_specifics.pb.h"
#include "chrome/browser/sync/protocol/sync.pb.h"
+#include "chrome/browser/sync/syncable/syncable.h"
tim (not reviewing) 2011/09/20 16:04:59 Hm. I suppose this isn't enforced by the deps rule
akalin 2011/09/20 21:14:42 Turns out I don't really need it for ToValue(), al
#include "chrome/browser/sync/util/immutable.h"
namespace base {
class DictionaryValue;
-} // namespace
+} // namespace base
namespace sync_api {
@@ -50,7 +51,8 @@ struct ChangeRecord {
~ChangeRecord();
// Transfers ownership of the DictionaryValue to the caller.
- base::DictionaryValue* ToValue(const BaseTransaction* trans) const;
+ base::DictionaryValue* ToValue(
+ const syncable::ImmutableEntryKernelMutationMap& mutations) const;
int64 id;
Action action;

Powered by Google App Engine
This is Rietveld 408576698