| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TRANSLATE_TRANSLATE_PREFS_H_ | 5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_PREFS_H_ |
| 6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_PREFS_H_ | 6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_PREFS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | |
| 11 | 10 |
| 12 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 13 | 12 |
| 14 class DictionaryValue; | 13 class DictionaryValue; |
| 15 class ListValue; | 14 class ListValue; |
| 16 class PrefService; | 15 class PrefService; |
| 17 | 16 |
| 18 class TranslatePrefs { | 17 class TranslatePrefs { |
| 19 public: | 18 public: |
| 20 static const char kPrefTranslateLanguageBlacklist[]; | 19 static const char kPrefTranslateLanguageBlacklist[]; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 DictionaryValue* GetTranslationDeniedCountDictionary(); | 73 DictionaryValue* GetTranslationDeniedCountDictionary(); |
| 75 | 74 |
| 76 // Retrieves the dictionary mapping the number of times translation has been | 75 // Retrieves the dictionary mapping the number of times translation has been |
| 77 // accepted for a language, creating it if necessary. | 76 // accepted for a language, creating it if necessary. |
| 78 DictionaryValue* GetTranslationAcceptedCountDictionary(); | 77 DictionaryValue* GetTranslationAcceptedCountDictionary(); |
| 79 | 78 |
| 80 PrefService* prefs_; // Weak. | 79 PrefService* prefs_; // Weak. |
| 81 }; | 80 }; |
| 82 | 81 |
| 83 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_PREFS_H_ | 82 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_PREFS_H_ |
| OLD | NEW |