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

Side by Side Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 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 "chrome/browser/ui/webui/print_preview/print_preview_handler.h" 5 #include "chrome/browser/ui/webui/print_preview/print_preview_handler.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <utility> 13 #include <utility>
14 14
15 #include "base/base64.h" 15 #include "base/base64.h"
16 #include "base/bind.h" 16 #include "base/bind.h"
17 #include "base/bind_helpers.h" 17 #include "base/bind_helpers.h"
18 #include "base/command_line.h" 18 #include "base/command_line.h"
19 #include "base/i18n/file_util_icu.h" 19 #include "base/i18n/file_util_icu.h"
20 #include "base/i18n/number_formatting.h" 20 #include "base/i18n/number_formatting.h"
21 #include "base/json/json_reader.h" 21 #include "base/json/json_reader.h"
22 #include "base/lazy_instance.h" 22 #include "base/lazy_instance.h"
23 #include "base/macros.h" 23 #include "base/macros.h"
24 #include "base/memory/ptr_util.h"
24 #include "base/memory/ref_counted_memory.h" 25 #include "base/memory/ref_counted_memory.h"
25 #include "base/metrics/histogram_macros.h" 26 #include "base/metrics/histogram_macros.h"
26 #include "base/strings/string_number_conversions.h" 27 #include "base/strings/string_number_conversions.h"
27 #include "base/strings/stringprintf.h" 28 #include "base/strings/stringprintf.h"
28 #include "base/strings/utf_string_conversions.h" 29 #include "base/strings/utf_string_conversions.h"
29 #include "base/task_runner_util.h" 30 #include "base/task_runner_util.h"
30 #include "base/threading/thread.h" 31 #include "base/threading/thread.h"
31 #include "base/values.h" 32 #include "base/values.h"
32 #include "build/build_config.h" 33 #include "build/build_config.h"
33 #include "chrome/browser/app_mode/app_mode_utils.h" 34 #include "chrome/browser/app_mode/app_mode_utils.h"
(...skipping 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 1717
1717 void PrintPreviewHandler::UnregisterForGaiaCookieChanges() { 1718 void PrintPreviewHandler::UnregisterForGaiaCookieChanges() {
1718 if (gaia_cookie_manager_service_) 1719 if (gaia_cookie_manager_service_)
1719 gaia_cookie_manager_service_->RemoveObserver(this); 1720 gaia_cookie_manager_service_->RemoveObserver(this);
1720 } 1721 }
1721 1722
1722 void PrintPreviewHandler::SetPdfSavedClosureForTesting( 1723 void PrintPreviewHandler::SetPdfSavedClosureForTesting(
1723 const base::Closure& closure) { 1724 const base::Closure& closure) {
1724 pdf_file_saved_closure_ = closure; 1725 pdf_file_saved_closure_ = closure;
1725 } 1726 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/media_router/media_router_web_ui_test.cc ('k') | chrome/browser/ui/webui/profile_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698