Home | History | Annotate | Download | only in printing
      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 #include "printing/printing_export.h"
     11 
     12 namespace base {
     13 class DictionaryValue;
     14 }
     15 
     16 namespace printing {
     17 
     18 class PrintSettings;
     19 
     20 // Initializes the header footer strings in the PrintSettings object from the
     21 // provided |job_settings|.
     22 class PRINTING_EXPORT PrintSettingsInitializer {
     23  public:
     24   static void InitHeaderFooterStrings(
     25       const base::DictionaryValue& job_settings,
     26       PrintSettings* print_settings);
     27 
     28  private:
     29   DISALLOW_IMPLICIT_CONSTRUCTORS(PrintSettingsInitializer);
     30 };
     31 
     32 }  // namespace printing
     33 
     34 #endif  // PRINTING_PRINT_SETTINGS_INITIALIZER_H_
     35 
     36