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

Unified Diff: chrome/browser/ui/webui/snippets_internals_message_handler.cc

Issue 2191343002: 📰 Remove SnippetService's dependency on Sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update some doc, show NO_SNIPPETS instead of SIGNIN when during INITIALIZING state 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/ui/webui/snippets_internals_message_handler.cc
diff --git a/chrome/browser/ui/webui/snippets_internals_message_handler.cc b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
index c4079db89af185f10db7a1549b345b0366dc845e..28b59489eb504c8bce9cfb311b95ae40edd81d0d 100644
--- a/chrome/browser/ui/webui/snippets_internals_message_handler.cc
+++ b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
@@ -102,12 +102,6 @@ std::string MapCategoryStatus(ContentSuggestionsCategoryStatus status) {
return "CATEGORY_EXPLICITLY_DISABLED";
case ContentSuggestionsCategoryStatus::SIGNED_OUT:
return "SIGNED_OUT";
- case ContentSuggestionsCategoryStatus::SYNC_DISABLED:
- return "SYNC_DISABLED";
- case ContentSuggestionsCategoryStatus::PASSPHRASE_ENCRYPTION_ENABLED:
- return "PASSPHRASE_ENCRYPTION_ENABLED";
- case ContentSuggestionsCategoryStatus::HISTORY_SYNC_DISABLED:
- return "HISTORY_SYNC_DISABLED";
case ContentSuggestionsCategoryStatus::LOADING_ERROR:
return "LOADING_ERROR";
}

Powered by Google App Engine
This is Rietveld 408576698