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

Unified Diff: components/spellcheck/common/spellcheck_marker.h

Issue 1884583003: Create a spellcheck component that will allow any embedder to reuse common functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address reviewers' comments. Created 4 years, 8 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/common/spellcheck_marker.h
diff --git a/chrome/common/spellcheck_marker.h b/components/spellcheck/common/spellcheck_marker.h
similarity index 82%
rename from chrome/common/spellcheck_marker.h
rename to components/spellcheck/common/spellcheck_marker.h
index ac2785362fcdebd3a8250f3cdf758bf44bfd26d7..19708bcd0c04e9eb8916068de1f70a6dc096313e 100644
--- a/chrome/common/spellcheck_marker.h
+++ b/components/spellcheck/common/spellcheck_marker.h
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_SPELLCHECK_MARKER_H_
-#define CHROME_COMMON_SPELLCHECK_MARKER_H_
+#ifndef COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_MARKER_H_
+#define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_MARKER_H_
#include <stddef.h>
#include <stdint.h>
+namespace spellcheck {
+
class SpellCheckMarker {
public:
// A predicate to test spellcheck marker validity.
@@ -35,4 +37,6 @@ class SpellCheckMarker {
uint32_t offset;
};
-#endif // CHROME_COMMON_SPELLCHECK_MARKER_H_
+} // namespace spellcheck
+
+#endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_MARKER_H_
« no previous file with comments | « components/spellcheck/common/spellcheck_bdict_language.h ('k') | components/spellcheck/common/spellcheck_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698