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

Side by Side Diff: chrome/service/cloud_print/print_system_win.cc

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/service/cloud_print/print_system_cups.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/service/cloud_print/print_system.h" 5 #include "chrome/service/cloud_print/print_system.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/win/object_watcher.h" 12 #include "base/win/object_watcher.h"
13 #include "base/win/scoped_bstr.h" 13 #include "base/win/scoped_bstr.h"
14 #include "base/win/scoped_comptr.h" 14 #include "base/win/scoped_comptr.h"
15 #include "base/win/scoped_hdc.h" 15 #include "base/win/scoped_hdc.h"
16 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
17 #include "chrome/common/cloud_print/cloud_print_cdd_conversion.h" 17 #include "chrome/common/cloud_print/cloud_print_cdd_conversion.h"
18 #include "chrome/common/cloud_print/cloud_print_constants.h" 18 #include "chrome/common/cloud_print/cloud_print_constants.h"
19 #include "chrome/common/crash_keys.h" 19 #include "chrome/common/crash_keys.h"
20 #include "chrome/service/cloud_print/cdd_conversion_win.h" 20 #include "chrome/service/cloud_print/cdd_conversion_win.h"
21 #include "chrome/service/service_process.h" 21 #include "chrome/service/service_process.h"
22 #include "chrome/service/service_utility_process_host.h" 22 #include "chrome/service/service_utility_process_host.h"
23 #include "grit/generated_resources.h"
24 #include "printing/backend/win_helper.h" 23 #include "printing/backend/win_helper.h"
25 #include "printing/emf_win.h" 24 #include "printing/emf_win.h"
26 #include "printing/page_range.h" 25 #include "printing/page_range.h"
27 #include "printing/printing_utils.h" 26 #include "printing/printing_utils.h"
28 #include "ui/base/l10n/l10n_util.h"
29 27
30 namespace cloud_print { 28 namespace cloud_print {
31 29
32 namespace { 30 namespace {
33 31
34 class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate { 32 class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
35 public: 33 public:
36 PrintSystemWatcherWin() 34 PrintSystemWatcherWin()
37 : delegate_(NULL), 35 : delegate_(NULL),
38 did_signal_(false) { 36 did_signal_(false) {
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 } 840 }
843 841
844 } // namespace 842 } // namespace
845 843
846 scoped_refptr<PrintSystem> PrintSystem::CreateInstance( 844 scoped_refptr<PrintSystem> PrintSystem::CreateInstance(
847 const base::DictionaryValue* print_system_settings) { 845 const base::DictionaryValue* print_system_settings) {
848 return new PrintSystemWin; 846 return new PrintSystemWin;
849 } 847 }
850 848
851 } // namespace cloud_print 849 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/print_system_cups.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698