Index: headless/lib/browser/headless_devtools_manager_delegate.cc |
diff --git a/headless/lib/browser/headless_devtools_manager_delegate.cc b/headless/lib/browser/headless_devtools_manager_delegate.cc |
index 291a7850383b18de42415402db3a4af7e0317659..77c7e54c02fdf90565c9929d7ff8609ed891df1f 100644 |
--- a/headless/lib/browser/headless_devtools_manager_delegate.cc |
+++ b/headless/lib/browser/headless_devtools_manager_delegate.cc |
@@ -28,11 +28,6 @@ const char kErrorParam[] = "error"; |
const char kErrorCodeParam[] = "code"; |
const char kErrorMessageParam[] = "message"; |
-// The max and min value should match the ones in scaling_settings.html. |
-// Update both files at the same time. |
-const double kScaleMaxVal = 200; |
-const double kScaleMinVal = 10; |
- |
// JSON RPC 2.0 spec: http://www.jsonrpc.org/specification#error_object |
enum Error { |
kErrorInvalidParam = -32602, |
@@ -96,6 +91,13 @@ void PDFCreated( |
} // namespace |
#if BUILDFLAG(ENABLE_BASIC_PRINTING) |
+namespace { |
+// The max and min value should match the ones in scaling_settings.html. |
+// Update both files at the same time. |
+const double kScaleMaxVal = 200; |
+const double kScaleMinVal = 10; |
+} |
+ |
std::unique_ptr<base::DictionaryValue> ParsePrintSettings( |
int command_id, |
const base::DictionaryValue* params, |