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

Unified Diff: components/spellcheck/common/spellcheck_common.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_common.h
diff --git a/chrome/common/spellcheck_common.h b/components/spellcheck/common/spellcheck_common.h
similarity index 90%
rename from chrome/common/spellcheck_common.h
rename to components/spellcheck/common/spellcheck_common.h
index a7bc3dd9a3b5e9461dd0d5b167c48119b65539d2..5b7e93f0cdc12fb82d654daf78b3f7e2b4182e25 100644
--- a/chrome/common/spellcheck_common.h
+++ b/components/spellcheck/common/spellcheck_common.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_COMMON_H_
-#define CHROME_COMMON_SPELLCHECK_COMMON_H_
+#ifndef COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_COMMON_H_
+#define COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_COMMON_H_
#include <stddef.h>
@@ -14,8 +14,7 @@ namespace base {
class FilePath;
}
-namespace chrome {
-namespace spellcheck_common {
+namespace spellcheck {
// The number of hours that a session of feedback for spelling service lasts.
// After this number of hours passes, all feedback.
@@ -63,7 +62,6 @@ void GetISOLanguageCountryCodeFromLocale(const std::string& locale,
std::string* language_code,
std::string* country_code);
-} // namespace spellcheck_common
-} // namespace chrome
+} // namespace spellcheck
-#endif // CHROME_COMMON_SPELLCHECK_COMMON_H_
+#endif // COMPONENTS_SPELLCHECK_COMMON_SPELLCHECK_COMMON_H_
« no previous file with comments | « components/spellcheck/common/spellcheck_bdict_language.h ('k') | components/spellcheck/common/spellcheck_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698