Index: chrome/browser/notifications/platform_notification_service_unittest.cc |
diff --git a/chrome/browser/notifications/platform_notification_service_unittest.cc b/chrome/browser/notifications/platform_notification_service_unittest.cc |
index 4812b4013879d0c1f012dcc16b51247f3ba5ada3..840d32c9f7e2e0bdb1745317341a3f6e9c058bac 100644 |
--- a/chrome/browser/notifications/platform_notification_service_unittest.cc |
+++ b/chrome/browser/notifications/platform_notification_service_unittest.cc |
@@ -113,7 +113,7 @@ class PlatformNotificationServiceTest : public testing::Test { |
void DidGetDisplayedNotifications( |
std::unique_ptr<std::set<std::string>> displayed_notifications, |
- bool supports_synchronization) const { |
+ bool supports_synchronization) { |
displayed_notifications_ = std::move(displayed_notifications); |
} |
@@ -152,7 +152,7 @@ class PlatformNotificationServiceTest : public testing::Test { |
// Returns the Profile to be used for these tests. |
Profile* profile() const { return profile_; } |
- size_t GetNotificationCount() const { |
+ size_t GetNotificationCount() { |
display_service()->GetDisplayed(base::Bind( |
&PlatformNotificationServiceTest::DidGetDisplayedNotifications, |
base::Unretained(this))); |
@@ -182,7 +182,7 @@ class PlatformNotificationServiceTest : public testing::Test { |
std::unique_ptr<TestingProfileManager> profile_manager_; |
TestingProfile* profile_; |
content::TestBrowserThreadBundle thread_bundle_; |
- mutable std::unique_ptr<std::set<std::string>> displayed_notifications_; |
+ std::unique_ptr<std::set<std::string>> displayed_notifications_; |
}; |
TEST_F(PlatformNotificationServiceTest, DisplayPageDisplayedEvent) { |