Index: chrome/browser/extensions/app_notification_manager_sync_unittest.cc |
diff --git a/chrome/browser/extensions/app_notification_manager_sync_unittest.cc b/chrome/browser/extensions/app_notification_manager_sync_unittest.cc |
index 87770483f25d7f55828e6aaeba00414599f4d1a6..0f778f2e3976462cd6f9c36cf7afd75acebfbda1 100644 |
--- a/chrome/browser/extensions/app_notification_manager_sync_unittest.cc |
+++ b/chrome/browser/extensions/app_notification_manager_sync_unittest.cc |
@@ -9,6 +9,7 @@ |
#include "chrome/browser/extensions/app_notification.h" |
#include "chrome/browser/extensions/app_notification_manager.h" |
#include "chrome/browser/sync/protocol/app_notification_specifics.pb.h" |
+#include "chrome/browser/sync/protocol/sync.pb.h" |
#include "chrome/test/base/testing_profile.h" |
#include "content/test/test_browser_thread.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -19,8 +20,7 @@ namespace { |
// Extract notification guid from SyncData. |
std::string GetGuid(const SyncData& sync_data) { |
- return sync_data.GetSpecifics().GetExtension( |
- sync_pb::app_notification).guid(); |
+ return sync_data.GetSpecifics().app_notification().guid(); |
} |
// Dummy SyncChangeProcessor used to help review what SyncChanges are pushed |