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

Unified Diff: sync/syncable/write_transaction_info.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
« no previous file with comments | « sync/syncable/transaction_observer.h ('k') | sync/syncable/write_transaction_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/write_transaction_info.h
diff --git a/sync/syncable/write_transaction_info.h b/sync/syncable/write_transaction_info.h
deleted file mode 100644
index ba64ef99d8394a0558dd565037c32f7383b4585e..0000000000000000000000000000000000000000
--- a/sync/syncable/write_transaction_info.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
-#define SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
-
-#include <stddef.h>
-#include <stdint.h>
-
-#include <string>
-
-#include "sync/syncable/entry_kernel.h"
-#include "sync/syncable/syncable_base_transaction.h"
-
-namespace syncer {
-namespace syncable {
-
-// A struct describing the changes made during a transaction.
-struct WriteTransactionInfo {
- WriteTransactionInfo(int64_t id,
- tracked_objects::Location location,
- WriterTag writer,
- ImmutableEntryKernelMutationMap mutations);
- WriteTransactionInfo();
- WriteTransactionInfo(const WriteTransactionInfo& other);
- ~WriteTransactionInfo();
-
- // Caller owns the return value.
- base::DictionaryValue* ToValue(size_t max_mutations_size) const;
-
- int64_t id;
- // If tracked_objects::Location becomes assignable, we can use that
- // instead.
- std::string location_string;
- WriterTag writer;
- ImmutableEntryKernelMutationMap mutations;
-};
-
-typedef
- Immutable<WriteTransactionInfo>
- ImmutableWriteTransactionInfo;
-
-} // namespace syncable
-} // namespace syncer
-
-#endif // SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
« no previous file with comments | « sync/syncable/transaction_observer.h ('k') | sync/syncable/write_transaction_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698