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

Unified Diff: chrome/browser/translate/translate_prefs.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/themes/browser_theme_pack.h ('k') | chrome/browser/ui/webui/chrome_url_data_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/translate_prefs.h
===================================================================
--- chrome/browser/translate/translate_prefs.h (revision 92173)
+++ chrome/browser/translate/translate_prefs.h (working copy)
@@ -10,9 +10,12 @@
#include "googleurl/src/gurl.h"
+class PrefService;
+
+namespace base {
class DictionaryValue;
class ListValue;
-class PrefService;
+}
class TranslatePrefs {
public:
@@ -64,17 +67,17 @@
bool IsValueBlacklisted(const char* pref_id, const std::string& value);
void BlacklistValue(const char* pref_id, const std::string& value);
void RemoveValueFromBlacklist(const char* pref_id, const std::string& value);
- bool IsValueInList(const ListValue* list, const std::string& value);
+ bool IsValueInList(const base::ListValue* list, const std::string& value);
bool IsLanguageWhitelisted(const std::string& original_language,
std::string* target_language);
// Retrieves the dictionary mapping the number of times translation has been
// denied for a language, creating it if necessary.
- DictionaryValue* GetTranslationDeniedCountDictionary();
+ base::DictionaryValue* GetTranslationDeniedCountDictionary();
// Retrieves the dictionary mapping the number of times translation has been
// accepted for a language, creating it if necessary.
- DictionaryValue* GetTranslationAcceptedCountDictionary();
+ base::DictionaryValue* GetTranslationAcceptedCountDictionary();
PrefService* prefs_; // Weak.
};
« no previous file with comments | « chrome/browser/themes/browser_theme_pack.h ('k') | chrome/browser/ui/webui/chrome_url_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698