OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ | 5 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ |
6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ | 6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 base::string16 text_; | 50 base::string16 text_; |
51 ScopedVector<IPC::Message> messages_; | 51 ScopedVector<IPC::Message> messages_; |
52 size_t spelling_service_call_count_; | 52 size_t spelling_service_call_count_; |
53 }; | 53 }; |
54 | 54 |
55 // SpellCheckProvider test fixture. | 55 // SpellCheckProvider test fixture. |
56 class SpellCheckProviderTest : public testing::Test { | 56 class SpellCheckProviderTest : public testing::Test { |
57 public: | 57 public: |
58 SpellCheckProviderTest(); | 58 SpellCheckProviderTest(); |
59 virtual ~SpellCheckProviderTest(); | 59 ~SpellCheckProviderTest() override; |
60 | 60 |
61 protected: | 61 protected: |
62 TestingSpellCheckProvider provider_; | 62 TestingSpellCheckProvider provider_; |
63 }; | 63 }; |
64 | 64 |
65 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ | 65 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ |
OLD | NEW |