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

Unified Diff: chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc

Issue 1230933002: Patch 3.1: Refactored spellcheck_message_filter to be generic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@platform_flag
Patch Set: Updated gn build variable to match gyp side Created 5 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/spellchecker/spellcheck_message_filter_unittest.cc
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc b/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc
index 432f43bfe0fc0ac591ca4ecfa7030c67efca5c2b..bd1f49e2cdb97fa459ce1df5629c6e4d246df54c 100644
--- a/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc
+++ b/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc
@@ -28,7 +28,7 @@ class TestingSpellCheckMessageFilter : public SpellCheckMessageFilter {
return spellcheck_.get();
}
-#if !defined(OS_MACOSX)
+#if !defined(USE_PLATFORM_SPELLCHECKER)
void OnTextCheckComplete(int route_id,
int identifier,
const std::vector<SpellCheckMarker>& markers,
@@ -57,7 +57,7 @@ TEST(SpellCheckMessageFilterTest, TestOverrideThread) {
SpellCheckHostMsg_RequestDictionary::ID,
SpellCheckHostMsg_NotifyChecked::ID,
SpellCheckHostMsg_RespondDocumentMarkers::ID,
-#if !defined(OS_MACOSX)
+#if !defined(USE_PLATFORM_SPELLCHECKER)
SpellCheckHostMsg_CallSpellingService::ID,
#endif
};
@@ -74,7 +74,7 @@ TEST(SpellCheckMessageFilterTest, TestOverrideThread) {
}
}
-#if !defined(OS_MACOSX)
+#if !defined(USE_PLATFORM_SPELLCHECKER)
TEST(SpellCheckMessageFilterTest, OnTextCheckCompleteTestCustomDictionary) {
static const std::string kCustomWord = "Helllo";
static const int kRouteId = 0;
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_message_filter_platform_mac_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698