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

Side by Side Diff: chrome/browser/sync/engine/syncapi_internal.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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
OLDNEW
(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_ENGINE_SYNCAPI_INTERNAL_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_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 void SyncAPINameToServerName(const std::string& sync_api_name,
28 std::string* out);
29
30 bool IsNameServerIllegalAfterTrimming(const std::string& name);
31
32 bool AreSpecificsEqual(const browser_sync::Cryptographer* cryptographer,
33 const sync_pb::EntitySpecifics& left,
34 const sync_pb::EntitySpecifics& right);
35 }
36
37 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_INTERNAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/sync_scheduler_whitebox_unittest.cc ('k') | chrome/browser/sync/engine/syncapi_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698