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

Side by Side Diff: components/printing/renderer/print_web_view_helper.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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
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 #include "components/printing/renderer/print_web_view_helper.h" 5 #include "components/printing/renderer/print_web_view_helper.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <string> 10 #include <string>
8 11
9 #include "base/auto_reset.h" 12 #include "base/auto_reset.h"
10 #include "base/json/json_writer.h" 13 #include "base/json/json_writer.h"
11 #include "base/location.h" 14 #include "base/location.h"
12 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h"
13 #include "base/metrics/histogram_macros.h" 17 #include "base/metrics/histogram_macros.h"
14 #include "base/process/process_handle.h" 18 #include "base/process/process_handle.h"
15 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
16 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/stringprintf.h" 21 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
19 #include "base/thread_task_runner_handle.h" 23 #include "base/thread_task_runner_handle.h"
24 #include "build/build_config.h"
20 #include "components/printing/common/print_messages.h" 25 #include "components/printing/common/print_messages.h"
21 #include "content/public/common/web_preferences.h" 26 #include "content/public/common/web_preferences.h"
22 #include "content/public/renderer/render_frame.h" 27 #include "content/public/renderer/render_frame.h"
23 #include "content/public/renderer/render_thread.h" 28 #include "content/public/renderer/render_thread.h"
24 #include "content/public/renderer/render_view.h" 29 #include "content/public/renderer/render_view.h"
25 #include "grit/components_resources.h" 30 #include "grit/components_resources.h"
26 #include "net/base/escape.h" 31 #include "net/base/escape.h"
27 #include "printing/pdf_metafile_skia.h" 32 #include "printing/pdf_metafile_skia.h"
28 #include "printing/units.h" 33 #include "printing/units.h"
29 #include "third_party/WebKit/public/platform/WebSize.h" 34 #include "third_party/WebKit/public/platform/WebSize.h"
(...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after
2086 blink::WebConsoleMessage::LevelWarning, message)); 2091 blink::WebConsoleMessage::LevelWarning, message));
2087 return false; 2092 return false;
2088 } 2093 }
2089 2094
2090 void PrintWebViewHelper::ScriptingThrottler::Reset() { 2095 void PrintWebViewHelper::ScriptingThrottler::Reset() {
2091 // Reset counter on successful print. 2096 // Reset counter on successful print.
2092 count_ = 0; 2097 count_ = 0;
2093 } 2098 }
2094 2099
2095 } // namespace printing 2100 } // namespace printing
OLDNEW
« no previous file with comments | « components/printing/renderer/print_web_view_helper.h ('k') | components/printing/renderer/print_web_view_helper_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698