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

Unified Diff: sync/syncable/directory_unittest.h

Issue 265853004: Revert of Keep track of which attachments are referenced by which sync entries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/directory_backing_store.cc ('k') | sync/syncable/directory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/directory_unittest.h
diff --git a/sync/syncable/directory_unittest.h b/sync/syncable/directory_unittest.h
index 81e388823a4517f8660c57a5cb9fb8b056a0ef22..14e1a998eee96e700208555874e0a374bba73c7e 100644
--- a/sync/syncable/directory_unittest.h
+++ b/sync/syncable/directory_unittest.h
@@ -31,6 +31,7 @@
//
// Serves as base class for several other test fixtures.
class SyncableDirectoryTest : public testing::Test {
+ private:
protected:
static const char kDirectoryName[];
@@ -46,24 +47,12 @@
DirOpenResult ReopenDirectory();
// Creates an empty entry and sets the ID field to a default one.
- void CreateEntry(const ModelType& model_type, const std::string& entryname);
+ void CreateEntry(const std::string& entryname);
// Creates an empty entry and sets the ID field to id.
- void CreateEntry(const ModelType& model_type,
- const std::string& entryname,
- const int id);
+ void CreateEntry(const std::string& entryname, const int id);
- void CreateEntry(const ModelType& model_type,
- const std::string& entryname,
- const Id& id);
-
- void CreateEntryWithAttachmentMetadata(
- const ModelType& model_type,
- const std::string& entryname,
- const Id& id,
- const sync_pb::AttachmentMetadata& attachment_metadata);
-
- void DeleteEntry(const Id& id);
+ void CreateEntry(const std::string& entryname, Id id);
// When a directory is saved then loaded from disk, it will pass through
// DropDeletedEntries(). This will remove some entries from the directory.
« no previous file with comments | « sync/syncable/directory_backing_store.cc ('k') | sync/syncable/directory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698