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

Unified Diff: chrome/browser/spellchecker/spellcheck_message_filter.h

Issue 2495193003: Convert spellcheck to a buildflag header. (Closed)
Patch Set: Comment Created 4 years, 1 month 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.h
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter.h b/chrome/browser/spellchecker/spellcheck_message_filter.h
index 6e02fdcd60e426b5c6e9875ff1efaf67553da8ba..84347affd46fdaca29d8cf5d2648b1681247ffff 100644
--- a/chrome/browser/spellchecker/spellcheck_message_filter.h
+++ b/chrome/browser/spellchecker/spellcheck_message_filter.h
@@ -11,6 +11,7 @@
#include "base/compiler_specific.h"
#include "components/spellcheck/browser/spelling_service_client.h"
+#include "components/spellcheck/spellcheck_build_features.h"
#include "content/public/browser/browser_message_filter.h"
class SpellCheckMarker;
@@ -36,7 +37,7 @@ class SpellCheckMessageFilter : public content::BrowserMessageFilter {
void OnSpellCheckerRequestDictionary();
void OnNotifyChecked(const base::string16& word, bool misspelled);
void OnRespondDocumentMarkers(const std::vector<uint32_t>& markers);
-#if !defined(USE_BROWSER_SPELLCHECKER)
+#if !BUILDFLAG(USE_BROWSER_SPELLCHECKER)
void OnCallSpellingService(int route_id,
int identifier,
const base::string16& text,

Powered by Google App Engine
This is Rietveld 408576698