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

Side by Side Diff: chrome/browser/ui/webui/print_preview/sticky_settings.h

Issue 1362223002: Cleanup: Remove references to tests that no longer exists / are unused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.h ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_
6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_
7 7
8 #include "printing/print_job_constants.h"
9
10 #include <string> 8 #include <string>
11 9
12 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "printing/print_job_constants.h"
13 12
14 class PrintPreviewHandlerTest;
15 class PrefService; 13 class PrefService;
16 14
17 namespace base { 15 namespace base {
18 class DictionaryValue; 16 class DictionaryValue;
19 class FilePath; 17 class FilePath;
20 } 18 }
21 19
22 namespace user_prefs { 20 namespace user_prefs {
23 class PrefRegistrySyncable; 21 class PrefRegistrySyncable;
24 } 22 }
(...skipping 14 matching lines...) Expand all
39 // Stores app state for the last used printer. 37 // Stores app state for the last used printer.
40 void StoreAppState(const std::string& app_state); 38 void StoreAppState(const std::string& app_state);
41 // Stores the last path the user used to save to pdf. 39 // Stores the last path the user used to save to pdf.
42 void StoreSavePath(const base::FilePath& path); 40 void StoreSavePath(const base::FilePath& path);
43 41
44 void SaveInPrefs(PrefService* profile); 42 void SaveInPrefs(PrefService* profile);
45 void RestoreFromPrefs(PrefService* profile); 43 void RestoreFromPrefs(PrefService* profile);
46 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 44 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
47 45
48 private: 46 private:
49
50 scoped_ptr<base::FilePath> save_path_; 47 scoped_ptr<base::FilePath> save_path_;
51 scoped_ptr<std::string> printer_app_state_; 48 scoped_ptr<std::string> printer_app_state_;
52 }; 49 };
53 50
54 } // namespace printing 51 } // namespace printing
55 52
56 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_ 53 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.h ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698