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

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

Issue 1204293003: Patch 3: Added files for platform-based spellcheck. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@platform_flag
Patch Set: Comment cleanup Created 5 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: chrome/browser/spellchecker/spellcheck_platform.h
diff --git a/chrome/browser/spellchecker/spellcheck_platform_mac.h b/chrome/browser/spellchecker/spellcheck_platform.h
similarity index 92%
copy from chrome/browser/spellchecker/spellcheck_platform_mac.h
copy to chrome/browser/spellchecker/spellcheck_platform.h
index 1ddc5f6efb6722c5a7d3d0e212ca93108be0c1d1..7300e24ebc06d1d72f5c52b362d6742ca58b9204 100644
--- a/chrome/browser/spellchecker/spellcheck_platform_mac.h
+++ b/chrome/browser/spellchecker/spellcheck_platform.h
@@ -1,12 +1,12 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file defines the interface that any platform-specific spellchecker
// needs to implement in order to be used by the browser.
-#ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_
-#define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_
+#ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_H_
+#define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_H_
#include <string>
#include <vector>
@@ -20,7 +20,7 @@ namespace content {
class BrowserMessageFilter;
} // namespace content
-namespace spellcheck_mac {
+namespace spellcheck_platform {
typedef base::Callback<void(
const std::vector<SpellCheckResult>& /* results */)>
@@ -107,6 +107,6 @@ class ScopedEnglishLanguageForTest {
SpellcheckerStateInternal* state_;
};
-} // namespace spellcheck_mac
+} // namespace spellcheck_platform
-#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_
+#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_H_
please use gerrit instead 2015/07/09 19:45:32 Please delete spellcheck_platform_mac.h in the sam

Powered by Google App Engine
This is Rietveld 408576698