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

Side by Side Diff: sync/syncable/directory.h

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/test/test_internal_components_factory.cc ('k') | sync/syncable/directory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_SYNCABLE_DIRECTORY_H_ 5 #ifndef SYNC_SYNCABLE_DIRECTORY_H_
6 #define SYNC_SYNCABLE_DIRECTORY_H_ 6 #define SYNC_SYNCABLE_DIRECTORY_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 friend class syncer::TestUserShare; 134 friend class syncer::TestUserShare;
135 FRIEND_TEST_ALL_PREFIXES(SyncableDirectoryTest, ManageDeleteJournals); 135 FRIEND_TEST_ALL_PREFIXES(SyncableDirectoryTest, ManageDeleteJournals);
136 FRIEND_TEST_ALL_PREFIXES(SyncableDirectoryTest, 136 FRIEND_TEST_ALL_PREFIXES(SyncableDirectoryTest,
137 TakeSnapshotGetsAllDirtyHandlesTest); 137 TakeSnapshotGetsAllDirtyHandlesTest);
138 FRIEND_TEST_ALL_PREFIXES(SyncableDirectoryTest, 138 FRIEND_TEST_ALL_PREFIXES(SyncableDirectoryTest,
139 TakeSnapshotGetsOnlyDirtyHandlesTest); 139 TakeSnapshotGetsOnlyDirtyHandlesTest);
140 FRIEND_TEST_ALL_PREFIXES(SyncableDirectoryTest, 140 FRIEND_TEST_ALL_PREFIXES(SyncableDirectoryTest,
141 TakeSnapshotGetsMetahandlesToPurge); 141 TakeSnapshotGetsMetahandlesToPurge);
142 142
143 public: 143 public:
144 static const FilePath::CharType kSyncDatabaseFilename[]; 144 static const base::FilePath::CharType kSyncDatabaseFilename[];
145 145
146 // Various data that the Directory::Kernel we are backing (persisting data 146 // Various data that the Directory::Kernel we are backing (persisting data
147 // for) needs saved across runs of the application. 147 // for) needs saved across runs of the application.
148 struct SYNC_EXPORT_PRIVATE PersistedKernelInfo { 148 struct SYNC_EXPORT_PRIVATE PersistedKernelInfo {
149 PersistedKernelInfo(); 149 PersistedKernelInfo();
150 ~PersistedKernelInfo(); 150 ~PersistedKernelInfo();
151 151
152 // Set the |download_progress| entry for the given model to a 152 // Set the |download_progress| entry for the given model to a
153 // "first sync" start point. When such a value is sent to the server, 153 // "first sync" start point. When such a value is sent to the server,
154 // a full download of all objects of the model will be initiated. 154 // a full download of all objects of the model will be initiated.
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 629
630 // Maintain deleted entries not in |kernel_| until it's verified that they 630 // Maintain deleted entries not in |kernel_| until it's verified that they
631 // are deleted in native models as well. 631 // are deleted in native models as well.
632 scoped_ptr<DeleteJournal> delete_journal_; 632 scoped_ptr<DeleteJournal> delete_journal_;
633 }; 633 };
634 634
635 } // namespace syncable 635 } // namespace syncable
636 } // namespace syncer 636 } // namespace syncer
637 637
638 #endif // SYNC_SYNCABLE_DIRECTORY_H_ 638 #endif // SYNC_SYNCABLE_DIRECTORY_H_
OLDNEW
« no previous file with comments | « sync/internal_api/test/test_internal_components_factory.cc ('k') | sync/syncable/directory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698