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

Unified Diff: chrome/browser/ui/webui/print_preview/sticky_settings.h

Issue 2139303003: Modified printing to no longer store its own save path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 4 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
Index: chrome/browser/ui/webui/print_preview/sticky_settings.h
diff --git a/chrome/browser/ui/webui/print_preview/sticky_settings.h b/chrome/browser/ui/webui/print_preview/sticky_settings.h
index 59497f0267fa3daeda619289bd2d408db7e181f6..10eacc74b2e7827d1f07aea7aa58d2746559cb54 100644
--- a/chrome/browser/ui/webui/print_preview/sticky_settings.h
+++ b/chrome/browser/ui/webui/print_preview/sticky_settings.h
@@ -14,7 +14,6 @@ class PrefService;
namespace base {
class DictionaryValue;
-class FilePath;
}
namespace user_prefs {
@@ -31,20 +30,16 @@ class StickySettings {
StickySettings();
~StickySettings();
- base::FilePath* save_path();
std::string* printer_app_state();
// Stores app state for the last used printer.
void StoreAppState(const std::string& app_state);
- // Stores the last path the user used to save to pdf.
- void StoreSavePath(const base::FilePath& path);
void SaveInPrefs(PrefService* profile);
void RestoreFromPrefs(PrefService* profile);
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
private:
- std::unique_ptr<base::FilePath> save_path_;
std::unique_ptr<std::string> printer_app_state_;
};

Powered by Google App Engine
This is Rietveld 408576698