Android: add UMA instrumentation for inertial sensors.
[chromium-blink-merge.git] / printing / print_settings_initializer.h
bloba1093c5a3b8609a93a147329912a525e5f7194ba
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.
5 #ifndef PRINTING_PRINT_SETTINGS_INITIALIZER_H_
6 #define PRINTING_PRINT_SETTINGS_INITIALIZER_H_
8 #include "base/basictypes.h"
9 #include "base/logging.h"
10 #include "printing/page_range.h"
11 #include "printing/printing_export.h"
13 namespace base {
14 class DictionaryValue;
17 namespace printing {
19 class PrintSettings;
21 // Initializes the header footer strings in the PrintSettings object from the
22 // provided |job_settings|.
23 class PRINTING_EXPORT PrintSettingsInitializer {
24 public:
25 static bool InitSettings(
26 const base::DictionaryValue& job_settings,
27 const PageRanges& ranges,
28 PrintSettings* print_settings);
30 private:
31 DISALLOW_IMPLICIT_CONSTRUCTORS(PrintSettingsInitializer);
34 } // namespace printing
36 #endif // PRINTING_PRINT_SETTINGS_INITIALIZER_H_