Chromium Code Reviews| Index: chrome/browser/spellchecker/spellcheck_message_filter_platform.h |
| diff --git a/chrome/browser/spellchecker/spellcheck_message_filter_mac.h b/chrome/browser/spellchecker/spellcheck_message_filter_platform.h |
| similarity index 77% |
| rename from chrome/browser/spellchecker/spellcheck_message_filter_mac.h |
| rename to chrome/browser/spellchecker/spellcheck_message_filter_platform.h |
| index 18129b352d208d97bc920052024f396ab56d4732..edbd518798ed9e0f078a3d5aa249eaea0131f699 100644 |
| --- a/chrome/browser/spellchecker/spellcheck_message_filter_mac.h |
| +++ b/chrome/browser/spellchecker/spellcheck_message_filter_platform.h |
| @@ -1,9 +1,9 @@ |
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
|
please use gerrit instead
2015/07/09 22:21:29
Let's not update copyright to make it clear that t
dylanking
2015/07/09 23:49:58
Reverted.
|
| // 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_MAC_H_ |
| -#define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_MESSAGE_FILTER_MAC_H_ |
| +#ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_ |
| +#define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_ |
| #include <map> |
| @@ -12,10 +12,10 @@ |
| #include "content/public/browser/browser_message_filter.h" |
| // A message filter implementation that receives |
| -// the Mac-specific spell checker requests from SpellCheckProvider. |
| -class SpellCheckMessageFilterMac : public content::BrowserMessageFilter { |
| +// the platform-specific spell checker requests from SpellCheckProvider. |
| +class SpellCheckMessageFilterPlatform : public content::BrowserMessageFilter { |
| public: |
| - explicit SpellCheckMessageFilterMac(int render_process_id); |
| + explicit SpellCheckMessageFilterPlatform(int render_process_id); |
| // BrowserMessageFilter implementation. |
| void OverrideThreadForMessage(const IPC::Message& message, |
| @@ -33,7 +33,7 @@ class SpellCheckMessageFilterMac : public content::BrowserMessageFilter { |
| friend class TestingSpellCheckMessageFilter; |
| friend class SpellcheckMessageFilterMacTest; |
|
please use gerrit instead
2015/07/09 22:21:29
s/SpellcheckMessageFilterMacTest/SpellcheckMessage
dylanking
2015/07/09 23:49:58
Done.
|
| - ~SpellCheckMessageFilterMac() override; |
| + ~SpellCheckMessageFilterPlatform() override; |
| void OnCheckSpelling(const base::string16& word, int route_id, bool* correct); |
| void OnFillSuggestionList(const base::string16& word, |
| @@ -54,7 +54,7 @@ class SpellCheckMessageFilterMac : public content::BrowserMessageFilter { |
| // A JSON-RPC client that calls the Spelling service in the background. |
| scoped_ptr<SpellingServiceClient> client_; |
| - DISALLOW_COPY_AND_ASSIGN(SpellCheckMessageFilterMac); |
| + DISALLOW_COPY_AND_ASSIGN(SpellCheckMessageFilterPlatform); |
| }; |
| -#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_MESSAGE_FILTER_MAC_H_ |
| +#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_MESSAGE_FILTER_PLATFORM_H_ |