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

Side by Side Diff: chrome/browser/spellchecker/spellcheck_custom_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_custom_dictionary.h" 5 #include "chrome/browser/spellchecker/spellcheck_custom_dictionary.h"
6 6
7 #include <stddef.h>
8
7 #include <functional> 9 #include <functional>
8 10
9 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
10 #include "base/files/important_file_writer.h" 12 #include "base/files/important_file_writer.h"
11 #include "base/md5.h" 13 #include "base/md5.h"
12 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
14 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
15 #include "chrome/browser/spellchecker/spellcheck_host_metrics.h" 17 #include "chrome/browser/spellchecker/spellcheck_host_metrics.h"
16 #include "chrome/common/chrome_constants.h" 18 #include "chrome/common/chrome_constants.h"
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 } 526 }
525 527
526 void SpellcheckCustomDictionary::Notify(const Change& dictionary_change) { 528 void SpellcheckCustomDictionary::Notify(const Change& dictionary_change) {
527 DCHECK_CURRENTLY_ON(BrowserThread::UI); 529 DCHECK_CURRENTLY_ON(BrowserThread::UI);
528 if (!IsLoaded() || dictionary_change.empty()) 530 if (!IsLoaded() || dictionary_change.empty())
529 return; 531 return;
530 FOR_EACH_OBSERVER(Observer, 532 FOR_EACH_OBSERVER(Observer,
531 observers_, 533 observers_,
532 OnCustomDictionaryChanged(dictionary_change)); 534 OnCustomDictionaryChanged(dictionary_change));
533 } 535 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698