OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/printing/printer_manager_dialog.h" | 5 #include "chrome/browser/printing/printer_manager_dialog.h" |
6 | 6 |
7 #include "base/environment.h" | 7 #include "base/environment.h" |
| 8 #include "base/message_loop.h" |
8 #include "base/nix/xdg_util.h" | 9 #include "base/nix/xdg_util.h" |
9 #include "base/process_util.h" | 10 #include "base/process_util.h" |
10 #include "content/common/process_watcher.h" | 11 #include "content/common/process_watcher.h" |
11 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
12 | 13 |
13 using base::Environment; | 14 using base::Environment; |
14 using content::BrowserThread; | 15 using content::BrowserThread; |
15 | 16 |
16 namespace { | 17 namespace { |
17 | 18 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } // anonymous namespace | 60 } // anonymous namespace |
60 | 61 |
61 namespace printing { | 62 namespace printing { |
62 | 63 |
63 void PrinterManagerDialog::ShowPrinterManagerDialog() { | 64 void PrinterManagerDialog::ShowPrinterManagerDialog() { |
64 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, | 65 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, |
65 NewRunnableFunction(&DetectAndOpenPrinterConfigDialog)); | 66 NewRunnableFunction(&DetectAndOpenPrinterConfigDialog)); |
66 } | 67 } |
67 | 68 |
68 } // namespace printing | 69 } // namespace printing |
OLD | NEW |