| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PRINTING_PRINT_SETTINGS_INITIALIZER_H_ | |
| 6 #define PRINTING_PRINT_SETTINGS_INITIALIZER_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/logging.h" | |
| 10 | |
| 11 namespace base { | |
| 12 class DictionaryValue; | |
| 13 } | |
| 14 | |
| 15 namespace printing { | |
| 16 | |
| 17 class PrintSettings; | |
| 18 | |
| 19 // Initializes the header footer strings in the PrintSettings object from the | |
| 20 // provided |job_settings|. | |
| 21 class PrintSettingsInitializer { | |
| 22 public: | |
| 23 static void InitHeaderFooterStrings( | |
| 24 const base::DictionaryValue& job_settings, | |
| 25 PrintSettings* print_settings); | |
| 26 | |
| 27 private: | |
| 28 DISALLOW_IMPLICIT_CONSTRUCTORS(PrintSettingsInitializer); | |
| 29 }; | |
| 30 | |
| 31 } // namespace printing | |
| 32 | |
| 33 #endif // PRINTING_PRINT_SETTINGS_INITIALIZER_H_ | |
| 34 | |
| OLD | NEW |