Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / managed_mode / managed_user_registration_utility_unittest.cc
index f61bb7d..302f787 100644 (file)
@@ -19,6 +19,8 @@
 #include "chrome/test/base/testing_profile.h"
 #include "content/public/browser/browser_thread.h"
 #include "google_apis/gaia/google_service_auth_error.h"
+#include "sync/api/attachments/attachment_id.h"
+#include "sync/api/attachments/attachment_service_proxy_for_test.h"
 #include "sync/api/sync_change.h"
 #include "sync/api/sync_error_factory_mock.h"
 #include "sync/protocol/sync.pb.h"
@@ -218,10 +220,14 @@ void ManagedUserRegistrationUtilityTest::Acknowledge() {
     EXPECT_FALSE(specifics.managed_user().acknowledged());
     specifics.mutable_managed_user()->set_acknowledged(true);
     new_changes.push_back(
-        SyncChange(FROM_HERE, SyncChange::ACTION_UPDATE,
-                   SyncData::CreateRemoteData(++sync_data_id_,
-                                              specifics,
-                                              base::Time())));
+        SyncChange(FROM_HERE,
+                   SyncChange::ACTION_UPDATE,
+                   SyncData::CreateRemoteData(
+                       ++sync_data_id_,
+                       specifics,
+                       base::Time(),
+                       syncer::AttachmentIdList(),
+                       syncer::AttachmentServiceProxyForTest::Create())));
   }
   service()->ProcessSyncChanges(FROM_HERE, new_changes);