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

Unified Diff: components/ntp_snippets/remote/remote_suggestions_status_service.h

Issue 2556543003: Add another unittest for configuring sign-in dependency. (Closed)
Patch Set: Fix rebase Created 4 years 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: components/ntp_snippets/remote/remote_suggestions_status_service.h
diff --git a/components/ntp_snippets/remote/remote_suggestions_status_service.h b/components/ntp_snippets/remote/remote_suggestions_status_service.h
index 5e21cd4e73f7e8f17ffc34feed37059cff4d9c2a..5cc745ff494da7f35c6de2b04554812b103ac44b 100644
--- a/components/ntp_snippets/remote/remote_suggestions_status_service.h
+++ b/components/ntp_snippets/remote/remote_suggestions_status_service.h
@@ -52,6 +52,9 @@ class RemoteSuggestionsStatusService {
void OnSignInStateChanged();
private:
+ FRIEND_TEST_ALL_PREFIXES(RemoteSuggestionsStatusServiceTest,
+ SigninNeededIfSpecifiedByParam);
+ FRIEND_TEST_ALL_PREFIXES(RemoteSuggestionsStatusServiceTest, NoSigninNeeded);
FRIEND_TEST_ALL_PREFIXES(RemoteSuggestionsStatusServiceTest, DisabledViaPref);
// Callback for the PrefChangeRegistrar.

Powered by Google App Engine
This is Rietveld 408576698