| 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..de461660e5b2b689cacb1ea15bbc220213898bd9 100644
|
| --- a/chrome/browser/sync/internal_api/base_node.h
|
| +++ b/chrome/browser/sync/internal_api/base_node.h
|
| @@ -208,6 +208,12 @@ class BaseNode {
|
| void SetUnencryptedSpecifics(const sync_pb::EntitySpecifics& specifics);
|
|
|
| private:
|
| + // Have to friend the test class as well to allow member functions to access
|
| + // protected/private BaseNode methods.
|
| + friend class SyncManagerTest;
|
| + FRIEND_TEST_ALL_PREFIXES(SyncApiTest, GenerateSyncableHash);
|
| + 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 +222,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);
|
| };
|
|
|
|
|