| 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/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/environment.h" | 8 #include "base/environment.h" |
| 9 #include "base/message_loop.h" |
| 9 #include "base/nix/xdg_util.h" | 10 #include "base/nix/xdg_util.h" |
| 10 #include "base/process_util.h" | 11 #include "base/process_util.h" |
| 11 #include "content/common/process_watcher.h" | 12 #include "content/common/process_watcher.h" |
| 12 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 13 | 14 |
| 14 using base::Environment; | 15 using base::Environment; |
| 15 using content::BrowserThread; | 16 using content::BrowserThread; |
| 16 | 17 |
| 17 namespace { | 18 namespace { |
| 18 | 19 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 } // anonymous namespace | 61 } // anonymous namespace |
| 61 | 62 |
| 62 namespace printing { | 63 namespace printing { |
| 63 | 64 |
| 64 void PrinterManagerDialog::ShowPrinterManagerDialog() { | 65 void PrinterManagerDialog::ShowPrinterManagerDialog() { |
| 65 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, | 66 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, |
| 66 base::Bind(&DetectAndOpenPrinterConfigDialog)); | 67 base::Bind(&DetectAndOpenPrinterConfigDialog)); |
| 67 } | 68 } |
| 68 | 69 |
| 69 } // namespace printing | 70 } // namespace printing |
| OLD | NEW |