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

Side by Side Diff: chrome/browser/sync/test/integration/dictionary_helper.h

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 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_DICTIONARY_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_DICTIONARY_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_DICTIONARY_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_DICTIONARY_HELPER_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 namespace dictionary_helper { 12 namespace dictionary_helper {
11 13
12 // Synchronously loads the dictionaries across all profiles. Also loads the 14 // Synchronously loads the dictionaries across all profiles. Also loads the
13 // dictionary for the verifier if DisableVerifier() hasn't been called. Returns 15 // dictionary for the verifier if DisableVerifier() hasn't been called. Returns
14 // only after the dictionaries have finished to load. 16 // only after the dictionaries have finished to load.
15 void LoadDictionaries(); 17 void LoadDictionaries();
16 18
17 // Used to check the size of the dictionary within a particular sync profile. 19 // Used to check the size of the dictionary within a particular sync profile.
(...skipping 24 matching lines...) Expand all
42 bool AddWord(int index, const std::string& word); 44 bool AddWord(int index, const std::string& word);
43 45
44 // Removes |word| from the dictionary for profile with index |index|. Also 46 // Removes |word| from the dictionary for profile with index |index|. Also
45 // removes |word| from the verifier if DisableVerifier() hasn't been called. 47 // removes |word| from the verifier if DisableVerifier() hasn't been called.
46 // Returns true if |word| was found. Otherwise returns false. 48 // Returns true if |word| was found. Otherwise returns false.
47 bool RemoveWord(int index, const std::string& word); 49 bool RemoveWord(int index, const std::string& word);
48 50
49 } // namespace dictionary_helper 51 } // namespace dictionary_helper
50 52
51 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_DICTIONARY_HELPER_H_ 53 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_DICTIONARY_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698