#ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_
#define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_
#include "printing/print_job_constants.h"
#include <string>
#include "base/memory/scoped_ptr.h"
class PrintPreviewHandlerTest;
class PrefService;
namespace base {
class DictionaryValue;
class FilePath;
}
namespace user_prefs {
class PrefRegistrySyncable;
}
namespace printing {
class StickySettings {
public:
StickySettings();
~StickySettings();
base::FilePath* save_path();
std::string* printer_app_state();
void StoreAppState(const std::string& app_state);
void StoreSavePath(const base::FilePath& path);
void SaveInPrefs(PrefService* profile);
void RestoreFromPrefs(PrefService* profile);
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
private:
scoped_ptr<base::FilePath> save_path_;
scoped_ptr<std::string> printer_app_state_;
};
}
#endif