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

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

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/syncable/nigori_util.h ('k') | sync/syncable/read_transaction.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ON_DISK_DIRECTORY_BACKING_STORE_H_ 5 #ifndef SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_
6 #define SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ 6 #define SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_
7 #pragma once
8 7
9 #include "base/file_path.h" 8 #include "base/file_path.h"
10 #include "sync/syncable/directory_backing_store.h" 9 #include "sync/syncable/directory_backing_store.h"
11 10
12 namespace syncer { 11 namespace syncer {
13 namespace syncable { 12 namespace syncable {
14 13
15 // This is the concrete class that provides a useful implementation of 14 // This is the concrete class that provides a useful implementation of
16 // DirectoryBackingStore. 15 // DirectoryBackingStore.
17 class OnDiskDirectoryBackingStore : public DirectoryBackingStore { 16 class OnDiskDirectoryBackingStore : public DirectoryBackingStore {
18 public: 17 public:
19 OnDiskDirectoryBackingStore(const std::string& dir_name, 18 OnDiskDirectoryBackingStore(const std::string& dir_name,
20 const FilePath& backing_filepath); 19 const FilePath& backing_filepath);
21 virtual DirOpenResult Load( 20 virtual DirOpenResult Load(
22 MetahandlesIndex* entry_bucket, 21 MetahandlesIndex* entry_bucket,
23 Directory::KernelLoadInfo* kernel_load_info) OVERRIDE; 22 Directory::KernelLoadInfo* kernel_load_info) OVERRIDE;
24 23
25 private: 24 private:
26 FilePath backing_filepath_; 25 FilePath backing_filepath_;
27 }; 26 };
28 27
29 } // namespace syncable 28 } // namespace syncable
30 } // namespace syncer 29 } // namespace syncer
31 30
32 #endif // SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_ 31 #endif // SYNC_SYNCABLE_ON_DISK_DIRECTORY_BACKING_STORE_H_
OLDNEW
« no previous file with comments | « sync/syncable/nigori_util.h ('k') | sync/syncable/read_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698