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

Unified Diff: chrome/browser/chromeos/hats/hats_notification_controller.h

Issue 2169223002: Implements unittests for hats notification controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implements unittests for hats notification controller Created 4 years, 5 months 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/chromeos/hats/hats_notification_controller.h
diff --git a/chrome/browser/chromeos/hats/hats_notification_controller.h b/chrome/browser/chromeos/hats/hats_notification_controller.h
index 20d36a5fd14c63d871ae57744f3d286c7fd5d48c..51879d12e47eeba1fb772f58072a8109dd7a2372 100644
--- a/chrome/browser/chromeos/hats/hats_notification_controller.h
+++ b/chrome/browser/chromeos/hats/hats_notification_controller.h
@@ -37,6 +37,15 @@ class HatsNotificationController : public NotificationDelegate,
static bool ShouldShowSurveyToProfile(Profile* profile);
private:
+ FRIEND_TEST_ALL_PREFIXES(HatsNotificationControllerTest,
+ OldDevice_ShouldInitialize);
+ FRIEND_TEST_ALL_PREFIXES(HatsNotificationControllerTest,
+ NoInternet_DoNotShowNotification);
+ FRIEND_TEST_ALL_PREFIXES(HatsNotificationControllerTest,
+ InternetConnected_ShowNotification);
+ FRIEND_TEST_ALL_PREFIXES(HatsNotificationControllerTest,
+ DismissNotification_ShouldUpdatePref);
+
~HatsNotificationController() override;
// NotificationDelegate overrides:

Powered by Google App Engine
This is Rietveld 408576698