| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ |
| 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ |
| 7 |
| 8 // The functions defined are shared among some of the classes that implement |
| 9 // the internal sync_api. They are not to be used by clients of the API. |
| 10 |
| 11 #include <string> |
| 12 |
| 13 namespace browser_sync { |
| 14 class Cryptographer; |
| 15 } |
| 16 |
| 17 namespace sync_pb { |
| 18 class EntitySpecifics; |
| 19 class PasswordSpecificsData; |
| 20 } |
| 21 |
| 22 namespace sync_api { |
| 23 sync_pb::PasswordSpecificsData* DecryptPasswordSpecifics( |
| 24 const sync_pb::EntitySpecifics& specifics, |
| 25 browser_sync::Cryptographer* crypto); |
| 26 |
| 27 bool IsNameServerIllegalAfterTrimming(const std::string& name); |
| 28 |
| 29 bool AreSpecificsEqual(const browser_sync::Cryptographer* cryptographer, |
| 30 const sync_pb::EntitySpecifics& left, |
| 31 const sync_pb::EntitySpecifics& right); |
| 32 } |
| 33 |
| 34 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ |
| OLD | NEW |