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

Side by Side Diff: sync/internal_api/public/base_node.h

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments 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
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_PUBLIC_BASE_NODE_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_
6 #define SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 24 matching lines...) Expand all
35 class EntitySpecifics; 35 class EntitySpecifics;
36 class ExtensionSpecifics; 36 class ExtensionSpecifics;
37 class SessionSpecifics; 37 class SessionSpecifics;
38 class NigoriSpecifics; 38 class NigoriSpecifics;
39 class PreferenceSpecifics; 39 class PreferenceSpecifics;
40 class PasswordSpecificsData; 40 class PasswordSpecificsData;
41 class ThemeSpecifics; 41 class ThemeSpecifics;
42 class TypedUrlSpecifics; 42 class TypedUrlSpecifics;
43 } 43 }
44 44
45 namespace csync { 45 namespace syncer {
46 46
47 class BaseTransaction; 47 class BaseTransaction;
48 48
49 // A valid BaseNode will never have an ID of zero. 49 // A valid BaseNode will never have an ID of zero.
50 static const int64 kInvalidId = 0; 50 static const int64 kInvalidId = 0;
51 51
52 // BaseNode wraps syncable::Entry, and corresponds to a single object's state. 52 // BaseNode wraps syncable::Entry, and corresponds to a single object's state.
53 // This, like syncable::Entry, is intended for use on the stack. A valid 53 // This, like syncable::Entry, is intended for use on the stack. A valid
54 // transaction is necessary to create a BaseNode or any of its children. 54 // transaction is necessary to create a BaseNode or any of its children.
55 // Unlike syncable::Entry, a sync API BaseNode is identified primarily by its 55 // Unlike syncable::Entry, a sync API BaseNode is identified primarily by its
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 // A holder for the unencrypted data stored in an encrypted node. 244 // A holder for the unencrypted data stored in an encrypted node.
245 sync_pb::EntitySpecifics unencrypted_data_; 245 sync_pb::EntitySpecifics unencrypted_data_;
246 246
247 // Same as |unencrypted_data_|, but for legacy password encryption. 247 // Same as |unencrypted_data_|, but for legacy password encryption.
248 scoped_ptr<sync_pb::PasswordSpecificsData> password_data_; 248 scoped_ptr<sync_pb::PasswordSpecificsData> password_data_;
249 249
250 DISALLOW_COPY_AND_ASSIGN(BaseNode); 250 DISALLOW_COPY_AND_ASSIGN(BaseNode);
251 }; 251 };
252 252
253 } // namespace csync 253 } // namespace syncer
254 254
255 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_ 255 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_
OLDNEW
« no previous file with comments | « sync/internal_api/js_sync_manager_observer_unittest.cc ('k') | sync/internal_api/public/base_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698