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

Side by Side Diff: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
OLDNEW
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 #include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h" 5 #include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
12 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "build/build_config.h"
13 #include "chrome/browser/spellchecker/spellcheck_platform.h" 16 #include "chrome/browser/spellchecker/spellcheck_platform.h"
14 #include "chrome/browser/spellchecker/spellcheck_service.h" 17 #include "chrome/browser/spellchecker/spellcheck_service.h"
15 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
16 #include "chrome/common/spellcheck_common.h" 19 #include "chrome/common/spellcheck_common.h"
17 #include "components/data_use_measurement/core/data_use_user_data.h" 20 #include "components/data_use_measurement/core/data_use_user_data.h"
18 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
19 #include "content/public/browser/render_process_host.h" 22 #include "content/public/browser/render_process_host.h"
20 #include "net/base/load_flags.h" 23 #include "net/base/load_flags.h"
21 #include "net/url_request/url_fetcher.h" 24 #include "net/url_request/url_fetcher.h"
22 #include "net/url_request/url_request_context_getter.h" 25 #include "net/url_request/url_request_context_getter.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 FOR_EACH_OBSERVER(Observer, observers_, 371 FOR_EACH_OBSERVER(Observer, observers_,
369 OnHunspellDictionaryInitialized(language_)); 372 OnHunspellDictionaryInitialized(language_));
370 } 373 }
371 374
372 void SpellcheckHunspellDictionary::InformListenersOfDownloadFailure() { 375 void SpellcheckHunspellDictionary::InformListenersOfDownloadFailure() {
373 download_status_ = DOWNLOAD_FAILED; 376 download_status_ = DOWNLOAD_FAILED;
374 FOR_EACH_OBSERVER(Observer, 377 FOR_EACH_OBSERVER(Observer,
375 observers_, 378 observers_,
376 OnHunspellDictionaryDownloadFailure(language_)); 379 OnHunspellDictionaryDownloadFailure(language_));
377 } 380 }
OLDNEW
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h ('k') | chrome/browser/spellchecker/spellcheck_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698