| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_BROWSER_SPELLCHECKER_FEEDBACK_SENDER_H_ | 5 #ifndef CHROME_BROWSER_SPELLCHECKER_FEEDBACK_SENDER_H_ |
| 6 #define CHROME_BROWSER_SPELLCHECKER_FEEDBACK_SENDER_H_ | 6 #define CHROME_BROWSER_SPELLCHECKER_FEEDBACK_SENDER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/timer.h" | 14 #include "base/timer.h" |
| 15 #include "chrome/browser/spellchecker/feedback.h" | 15 #include "chrome/browser/spellchecker/feedback.h" |
| 16 #include "chrome/browser/spellchecker/misspelling.h" | 16 #include "chrome/browser/spellchecker/misspelling.h" |
| 17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
| 18 #include "net/url_request/url_fetcher_delegate.h" | 18 #include "net/url_request/url_fetcher_delegate.h" |
| 19 | 19 |
| 20 class SpellCheckMarker; |
| 20 class SpellingServiceFeedbackTest; | 21 class SpellingServiceFeedbackTest; |
| 21 struct SpellCheckMarker; | |
| 22 struct SpellCheckResult; | 22 struct SpellCheckResult; |
| 23 | 23 |
| 24 namespace net { | 24 namespace net { |
| 25 class URLFetcher; | 25 class URLFetcher; |
| 26 class URLRequestContextGetter; | 26 class URLRequestContextGetter; |
| 27 } | 27 } |
| 28 | 28 |
| 29 namespace spellcheck { | 29 namespace spellcheck { |
| 30 | 30 |
| 31 // Manages sending feedback to the spelling service. | 31 // Manages sending feedback to the spelling service. |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // If a sender is destroyed before it finishes, then sending feedback will be | 130 // If a sender is destroyed before it finishes, then sending feedback will be |
| 131 // canceled. | 131 // canceled. |
| 132 ScopedVector<net::URLFetcher> senders_; | 132 ScopedVector<net::URLFetcher> senders_; |
| 133 | 133 |
| 134 DISALLOW_COPY_AND_ASSIGN(FeedbackSender); | 134 DISALLOW_COPY_AND_ASSIGN(FeedbackSender); |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 } // namespace spellcheck | 137 } // namespace spellcheck |
| 138 | 138 |
| 139 #endif // CHROME_BROWSER_SPELLCHECKER_FEEDBACK_SENDER_H_ | 139 #endif // CHROME_BROWSER_SPELLCHECKER_FEEDBACK_SENDER_H_ |
| OLD | NEW |