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

Side by Side Diff: chrome/browser/printing/print_preview_pdf_generated_browsertest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stdint.h>
6
5 #include <algorithm> 7 #include <algorithm>
6 #include <fstream> 8 #include <fstream>
7 #include <iostream> 9 #include <iostream>
8 #include <iterator> 10 #include <iterator>
9 #include <limits> 11 #include <limits>
10 #include <string> 12 #include <string>
11 #include <utility> 13 #include <utility>
12 #include <vector> 14 #include <vector>
13 15
14 #include "base/bind.h" 16 #include "base/bind.h"
15 #include "base/callback.h" 17 #include "base/callback.h"
16 #include "base/files/file.h" 18 #include "base/files/file.h"
17 #include "base/files/file_path.h" 19 #include "base/files/file_path.h"
18 #include "base/files/file_util.h" 20 #include "base/files/file_util.h"
19 #include "base/files/scoped_temp_dir.h" 21 #include "base/files/scoped_temp_dir.h"
20 #include "base/location.h" 22 #include "base/location.h"
21 #include "base/logging.h" 23 #include "base/logging.h"
24 #include "base/macros.h"
22 #include "base/md5.h" 25 #include "base/md5.h"
23 #include "base/memory/scoped_ptr.h" 26 #include "base/memory/scoped_ptr.h"
24 #include "base/path_service.h" 27 #include "base/path_service.h"
25 #include "base/run_loop.h" 28 #include "base/run_loop.h"
26 #include "base/single_thread_task_runner.h" 29 #include "base/single_thread_task_runner.h"
27 #include "base/strings/string_split.h" 30 #include "base/strings/string_split.h"
28 #include "base/strings/utf_string_conversions.h" 31 #include "base/strings/utf_string_conversions.h"
29 #include "base/thread_task_runner_handle.h" 32 #include "base/thread_task_runner_handle.h"
33 #include "build/build_config.h"
30 #include "chrome/browser/printing/print_preview_dialog_controller.h" 34 #include "chrome/browser/printing/print_preview_dialog_controller.h"
31 #include "chrome/browser/ui/browser.h" 35 #include "chrome/browser/ui/browser.h"
32 #include "chrome/browser/ui/browser_commands.h" 36 #include "chrome/browser/ui/browser_commands.h"
33 #include "chrome/browser/ui/tabs/tab_strip_model.h" 37 #include "chrome/browser/ui/tabs/tab_strip_model.h"
34 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" 38 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h"
35 #include "chrome/common/chrome_paths.h" 39 #include "chrome/common/chrome_paths.h"
36 #include "chrome/test/base/in_process_browser_test.h" 40 #include "chrome/test/base/in_process_browser_test.h"
37 #include "chrome/test/base/ui_test_utils.h" 41 #include "chrome/test/base/ui_test_utils.h"
38 #include "components/printing/common/print_messages.h" 42 #include "components/printing/common/print_messages.h"
39 #include "content/public/browser/web_contents.h" 43 #include "content/public/browser/web_contents.h"
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 // waiting for this message and start waiting for the image data. 638 // waiting for this message and start waiting for the image data.
635 std::cout << "#EOF\n"; 639 std::cout << "#EOF\n";
636 std::cout.flush(); 640 std::cout.flush();
637 641
638 SendPng(); 642 SendPng();
639 Reset(); 643 Reset();
640 } 644 }
641 } 645 }
642 646
643 } // namespace printing 647 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_preview_message_handler.cc ('k') | chrome/browser/printing/print_preview_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698