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

Side by Side Diff: chrome/browser/browser_process_impl.cc

Issue 276004: Wire up printing on the Mac (Closed)
Patch Set: Created 11 years, 2 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/browser_process_impl.h" 5 #include "chrome/browser/browser_process_impl.h"
6 6
7 #include "app/clipboard/clipboard.h" 7 #include "app/clipboard/clipboard.h"
8 #include "app/l10n_util.h" 8 #include "app/l10n_util.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "chrome/common/notification_service.h" 32 #include "chrome/common/notification_service.h"
33 #include "chrome/common/pref_names.h" 33 #include "chrome/common/pref_names.h"
34 #include "chrome/common/pref_service.h" 34 #include "chrome/common/pref_service.h"
35 #include "ipc/ipc_logging.h" 35 #include "ipc/ipc_logging.h"
36 36
37 #if defined(OS_WIN) 37 #if defined(OS_WIN)
38 #include "chrome/browser/automation/automation_provider_list.h" 38 #include "chrome/browser/automation/automation_provider_list.h"
39 #include "chrome/browser/printing/print_job_manager.h" 39 #include "chrome/browser/printing/print_job_manager.h"
40 #include "views/focus/view_storage.h" 40 #include "views/focus/view_storage.h"
41 #elif defined(OS_POSIX) 41 #elif defined(OS_MACOSX)
42 #include "chrome/browser/printing/print_job_manager.h"
43 #elif defined(OS_LINUX)
42 // TODO(port): Remove the temporary scaffolding as we port the above headers. 44 // TODO(port): Remove the temporary scaffolding as we port the above headers.
43 #include "chrome/common/temp_scaffolding_stubs.h" 45 #include "chrome/common/temp_scaffolding_stubs.h"
44 #endif 46 #endif
45 47
46 #if defined(IPC_MESSAGE_LOG_ENABLED) 48 #if defined(IPC_MESSAGE_LOG_ENABLED)
47 #include "chrome/common/plugin_messages.h" 49 #include "chrome/common/plugin_messages.h"
48 #include "chrome/common/render_messages.h" 50 #include "chrome/common/render_messages.h"
49 #endif 51 #endif
50 52
51 namespace { 53 namespace {
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 DCHECK(file_thread_->message_loop() == MessageLoop::current()); 491 DCHECK(file_thread_->message_loop() == MessageLoop::current());
490 bool result = false; 492 bool result = false;
491 493
492 FilePath inspector_dir; 494 FilePath inspector_dir;
493 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) { 495 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) {
494 result = file_util::PathExists(inspector_dir); 496 result = file_util::PathExists(inspector_dir);
495 } 497 }
496 498
497 have_inspector_files_ = result; 499 have_inspector_files_ = result;
498 } 500 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698