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

Unified Diff: components/spellcheck/browser/spellcheck_message_filter_platform.h

Issue 2244083002: Componentize spellcheck [4]: spellcheck/browser and android java-side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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: components/spellcheck/browser/spellcheck_message_filter_platform.h
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter_platform.h b/components/spellcheck/browser/spellcheck_message_filter_platform.h
similarity index 87%
rename from chrome/browser/spellchecker/spellcheck_message_filter_platform.h
rename to components/spellcheck/browser/spellcheck_message_filter_platform.h
index 31fd9994d6ee08054f9ed2d90508e7a34cde2783..b6edac377d88d5fca00b2dd59128bec4261a1f14 100644
--- a/chrome/browser/spellchecker/spellcheck_message_filter_platform.h
+++ b/components/spellcheck/browser/spellcheck_message_filter_platform.h
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_
-#define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_
+#ifndef COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_
+#define COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_
#include <map>
#include "base/macros.h"
#include "build/build_config.h"
-#include "chrome/browser/spellchecker/spellcheck_message_filter.h"
+#include "components/spellcheck/browser/spelling_service_client.h"
+#include "components/spellcheck/common/spellcheck_marker.h"
#include "components/spellcheck/common/spellcheck_result.h"
#include "content/public/browser/browser_message_filter.h"
@@ -68,4 +69,4 @@ class SpellCheckMessageFilterPlatform : public content::BrowserMessageFilter {
DISALLOW_COPY_AND_ASSIGN(SpellCheckMessageFilterPlatform);
};
-#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_
+#endif // COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_

Powered by Google App Engine
This is Rietveld 408576698