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

Unified Diff: chrome/browser/sync/internal_api/base_node.h

Issue 8759019: [Sync] Add intelligent re-encryption support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/internal_api/base_node.h
diff --git a/chrome/browser/sync/internal_api/base_node.h b/chrome/browser/sync/internal_api/base_node.h
index 362fdc39d98c0a1b78afbcc344f1893fcb612d9d..05271d998f5edb8229c08c2cc9909eb07bc757e5 100644
--- a/chrome/browser/sync/internal_api/base_node.h
+++ b/chrome/browser/sync/internal_api/base_node.h
@@ -208,6 +208,11 @@ class BaseNode {
void SetUnencryptedSpecifics(const sync_pb::EntitySpecifics& specifics);
private:
+ friend class SyncApiTest;
akalin 2011/12/06 18:28:02 i think the 'friend class' declarations are unnece
Nicolas Zea 2011/12/06 20:45:36 One of them is, the other not. The FREIND_TEST_ALL
akalin 2011/12/09 23:52:42 Ah, right, can you add a comment explaining why th
Nicolas Zea 2011/12/12 20:12:26 Done.
+ FRIEND_TEST_ALL_PREFIXES(SyncApiTest, GenerateSyncableHash);
+ friend class SyncManagerTest;
+ FRIEND_TEST_ALL_PREFIXES(SyncManagerTest, UpdateEntryWithEncryption);
+
void* operator new(size_t size); // Node is meant for stack use only.
// A holder for the unencrypted data stored in an encrypted node.
@@ -216,9 +221,6 @@ class BaseNode {
// Same as |unencrypted_data_|, but for legacy password encryption.
scoped_ptr<sync_pb::PasswordSpecificsData> password_data_;
- friend class SyncApiTest;
- FRIEND_TEST_ALL_PREFIXES(SyncApiTest, GenerateSyncableHash);
-
DISALLOW_COPY_AND_ASSIGN(BaseNode);
};
« no previous file with comments | « no previous file | chrome/browser/sync/internal_api/sync_manager.cc » ('j') | chrome/browser/sync/internal_api/sync_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698