OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_PREFS_H_ | 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_PREFS_H_ |
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_PREFS_H_ | 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_PREFS_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" |
12 #include "base/prefs/scoped_user_pref_update.h" | 15 #include "base/prefs/scoped_user_pref_update.h" |
13 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "build/build_config.h" |
14 #include "url/gurl.h" | 18 #include "url/gurl.h" |
15 | 19 |
16 class PrefService; | 20 class PrefService; |
17 class Profile; | 21 class Profile; |
18 | 22 |
19 namespace base { | 23 namespace base { |
20 class DictionaryValue; | 24 class DictionaryValue; |
21 class ListValue; | 25 class ListValue; |
22 } | 26 } |
23 | 27 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 base::DictionaryValue* GetTranslationAcceptedCountDictionary() const; | 189 base::DictionaryValue* GetTranslationAcceptedCountDictionary() const; |
186 | 190 |
187 PrefService* prefs_; // Weak. | 191 PrefService* prefs_; // Weak. |
188 | 192 |
189 DISALLOW_COPY_AND_ASSIGN(TranslatePrefs); | 193 DISALLOW_COPY_AND_ASSIGN(TranslatePrefs); |
190 }; | 194 }; |
191 | 195 |
192 } // namespace translate | 196 } // namespace translate |
193 | 197 |
194 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_PREFS_H_ | 198 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_PREFS_H_ |
OLD | NEW |