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

Side by Side Diff: sync/internal_api/syncapi_internal.h

Issue 10795018: [Sync] Remove unneeded 'using syncer::' lines and 'syncer::' scopings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fiix indent 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/internal_api/sync_manager_impl.cc ('k') | sync/internal_api/syncapi_internal.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 (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_INTERNAL_API_SYNCAPI_INTERNAL_H_ 5 #ifndef SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_
6 #define SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ 6 #define SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_
7 7
8 // The functions defined are shared among some of the classes that implement 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. 9 // the internal sync API. They are not to be used by clients of the API.
10 10
11 #include <string> 11 #include <string>
12 12
13 namespace sync_pb { 13 namespace sync_pb {
14 class EntitySpecifics; 14 class EntitySpecifics;
15 class PasswordSpecificsData; 15 class PasswordSpecificsData;
16 } 16 }
17 17
18 namespace syncer { 18 namespace syncer {
19 19
20 class Cryptographer; 20 class Cryptographer;
21 21
22 sync_pb::PasswordSpecificsData* DecryptPasswordSpecifics( 22 sync_pb::PasswordSpecificsData* DecryptPasswordSpecifics(
23 const sync_pb::EntitySpecifics& specifics, 23 const sync_pb::EntitySpecifics& specifics,
24 syncer::Cryptographer* crypto); 24 Cryptographer* crypto);
25 25
26 void SyncAPINameToServerName(const std::string& syncer_name, 26 void SyncAPINameToServerName(const std::string& syncer_name,
27 std::string* out); 27 std::string* out);
28 28
29 bool IsNameServerIllegalAfterTrimming(const std::string& name); 29 bool IsNameServerIllegalAfterTrimming(const std::string& name);
30 30
31 bool AreSpecificsEqual(const syncer::Cryptographer* cryptographer, 31 bool AreSpecificsEqual(const Cryptographer* cryptographer,
32 const sync_pb::EntitySpecifics& left, 32 const sync_pb::EntitySpecifics& left,
33 const sync_pb::EntitySpecifics& right); 33 const sync_pb::EntitySpecifics& right);
34 } // namespace syncer 34 } // namespace syncer
35 35
36 #endif // SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_ 36 #endif // SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_
OLDNEW
« no previous file with comments | « sync/internal_api/sync_manager_impl.cc ('k') | sync/internal_api/syncapi_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698