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

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

Issue 2177343002: Componentize spellcheck [2]: move common/ files to component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move message generator to component 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: components/spellcheck/common/spellcheck_marker.h
diff --git a/chrome/common/spellcheck_marker.h b/components/spellcheck/common/spellcheck_marker.h
similarity index 85%
rename from chrome/common/spellcheck_marker.h
rename to components/spellcheck/common/spellcheck_marker.h
index ac2785362fcdebd3a8250f3cdf758bf44bfd26d7..c30803ee5b815e219ed976af5a1259888b9961eb 100644
--- a/chrome/common/spellcheck_marker.h
+++ b/components/spellcheck/common/spellcheck_marker.h
@@ -2,8 +2,8 @@
// 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>
@@ -18,6 +18,7 @@ class SpellCheckMarker {
bool operator()(const SpellCheckMarker& marker) const {
return marker.offset < text_length_;
}
+
private:
size_t text_length_;
};
@@ -35,4 +36,4 @@ class SpellCheckMarker {
uint32_t offset;
};
-#endif // CHROME_COMMON_SPELLCHECK_MARKER_H_
+#endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_MARKER_H_
« no previous file with comments | « components/spellcheck/common/spellcheck_common.cc ('k') | components/spellcheck/common/spellcheck_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698