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

Side by Side Diff: sync/syncable/nigori_util.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/mutable_entry.h ('k') | sync/syncable/on_disk_directory_backing_store.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 // Various utility methods for nigori-based multi-type encryption. 5 // Various utility methods for nigori-based multi-type encryption.
6 6
7 #ifndef SYNC_SYNCABLE_NIGORI_UTIL_H_ 7 #ifndef SYNC_SYNCABLE_NIGORI_UTIL_H_
8 #define SYNC_SYNCABLE_NIGORI_UTIL_H_ 8 #define SYNC_SYNCABLE_NIGORI_UTIL_H_
9 #pragma once
10 9
11 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
12 #include "sync/internal_api/public/base/model_type.h" 11 #include "sync/internal_api/public/base/model_type.h"
13 #include "sync/protocol/nigori_specifics.pb.h" 12 #include "sync/protocol/nigori_specifics.pb.h"
14 13
15 namespace sync_pb { 14 namespace sync_pb {
16 class EntitySpecifics; 15 class EntitySpecifics;
17 } 16 }
18 17
19 namespace syncer { 18 namespace syncer {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Note: gracefully handles new_specifics aliasing with entry->Get(SPECIFICS). 65 // Note: gracefully handles new_specifics aliasing with entry->Get(SPECIFICS).
67 bool UpdateEntryWithEncryption( 66 bool UpdateEntryWithEncryption(
68 syncer::Cryptographer* cryptographer, 67 syncer::Cryptographer* cryptographer,
69 const sync_pb::EntitySpecifics& new_specifics, 68 const sync_pb::EntitySpecifics& new_specifics,
70 MutableEntry* entry); 69 MutableEntry* entry);
71 70
72 } // namespace syncable 71 } // namespace syncable
73 } // namespace syncer 72 } // namespace syncer
74 73
75 #endif // SYNC_SYNCABLE_NIGORI_UTIL_H_ 74 #endif // SYNC_SYNCABLE_NIGORI_UTIL_H_
OLDNEW
« no previous file with comments | « sync/syncable/mutable_entry.h ('k') | sync/syncable/on_disk_directory_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698