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

Side by Side Diff: chrome/browser/spellcheck_host_impl.h

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SPELLCHECK_HOST_IMPL_H_ 5 #ifndef CHROME_BROWSER_SPELLCHECK_HOST_IMPL_H_
6 #define CHROME_BROWSER_SPELLCHECK_HOST_IMPL_H_ 6 #define CHROME_BROWSER_SPELLCHECK_HOST_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "chrome/browser/spellcheck_host.h" 14 #include "chrome/browser/spellcheck_host.h"
15 #include "chrome/browser/spellcheck_host_observer.h" 15 #include "chrome/browser/spellcheck_host_observer.h"
16 #include "chrome/common/net/url_fetcher.h"
17 #include "content/common/notification_observer.h" 16 #include "content/common/notification_observer.h"
18 #include "content/common/notification_registrar.h" 17 #include "content/common/notification_registrar.h"
18 #include "content/common/url_fetcher.h"
19 19
20 // This class implements the SpellCheckHost interface to provide the 20 // This class implements the SpellCheckHost interface to provide the
21 // functionalities listed below: 21 // functionalities listed below:
22 // * Adding a word to the custom dictionary; 22 // * Adding a word to the custom dictionary;
23 // * Storing the custom dictionary to the file, and read it back 23 // * Storing the custom dictionary to the file, and read it back
24 // from the file during the initialization. 24 // from the file during the initialization.
25 // * Downloading a dictionary and map it for the renderer, and; 25 // * Downloading a dictionary and map it for the renderer, and;
26 // * Calling the platform spellchecker attached to the browser; 26 // * Calling the platform spellchecker attached to the browser;
27 // 27 //
28 // To download a dictionary and initialize it without blocking the UI thread, 28 // To download a dictionary and initialize it without blocking the UI thread,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 // Number of corrected words of checked words. 152 // Number of corrected words of checked words.
153 int misspelled_word_count_; 153 int misspelled_word_count_;
154 // Number of checked words. 154 // Number of checked words.
155 int spellchecked_word_count_; 155 int spellchecked_word_count_;
156 // Number of misspelled words replaced by a user. 156 // Number of misspelled words replaced by a user.
157 int replaced_word_count_; 157 int replaced_word_count_;
158 }; 158 };
159 159
160 #endif // CHROME_BROWSER_SPELLCHECK_HOST_IMPL_H_ 160 #endif // CHROME_BROWSER_SPELLCHECK_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_fetcher.cc ('k') | chrome/browser/sync/glue/http_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698