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

Side by Side Diff: chrome/browser/printing/printer_manager_dialog_linux.cc

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More IWYU, missing link-time dependency for Chrome Frame. Created 9 years, 1 month 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698