#ifndef CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_PREFS_H_
#define CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_PREFS_H_
#include <jni.h>
#include "chrome/browser/profiles/profile.h"
class NewTabPagePrefs {
public:
explicit NewTabPagePrefs(Profile* profile);
void Destroy(JNIEnv* env, jobject obj);
jboolean GetSnapshotDocumentCollapsed(JNIEnv* env, jobject obj);
void SetSnapshotDocumentCollapsed(JNIEnv* env,
jobject obj,
jboolean is_collapsed);
jboolean GetRecentlyClosedTabsCollapsed(JNIEnv* env, jobject obj);
void SetRecentlyClosedTabsCollapsed(JNIEnv* env,
jobject obj,
jboolean is_collapsed);
jboolean GetSyncPromoCollapsed(JNIEnv* env, jobject obj);
void SetSyncPromoCollapsed(JNIEnv* env,
jobject obj,
jboolean is_collapsed);
jboolean GetForeignSessionCollapsed(JNIEnv* env,
jobject obj,
jstring session_tag);
void SetForeignSessionCollapsed(JNIEnv* env, jobject obj,
jstring session_tag,
jboolean is_collapsed);
static bool RegisterNewTabPagePrefs(JNIEnv* env);
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
private:
virtual ~NewTabPagePrefs();
Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(NewTabPagePrefs);
};
#endif