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

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

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
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/printing/print_dialog_gtk.h" 5 #include "chrome/browser/printing/print_dialog_gtk.h"
6 6
7 #include <gtk/gtkprintjob.h> 7 #include <gtk/gtkprintjob.h>
8 #include <gtk/gtkprintunixdialog.h> 8 #include <gtk/gtkprintunixdialog.h>
9 #include <gtk/gtkpagesetupunixdialog.h> 9 #include <gtk/gtkpagesetupunixdialog.h>
10 10
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/file_util_proxy.h" 12 #include "base/file_util_proxy.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/lock.h" 14 #include "base/lock.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/thread_restrictions.h" 16 #include "base/threading/thread_restrictions.h"
17 #include "base/utf_string_conversions.h" 17 #include "base/utf_string_conversions.h"
18 #include "chrome/browser/browser_list.h" 18 #include "chrome/browser/browser_list.h"
19 #include "chrome/browser/browser_thread.h" 19 #include "chrome/browser/browser_thread.h"
20 #include "chrome/browser/browser_window.h" 20 #include "chrome/browser/browser_window.h"
21 #include "chrome/browser/tab_contents/infobar_delegate.h" 21 #include "chrome/browser/tab_contents/infobar_delegate.h"
22 #include "chrome/browser/tab_contents/tab_contents.h" 22 #include "chrome/browser/tab_contents/tab_contents.h"
23 23
24 namespace { 24 namespace {
25 25
26 PrintDialogGtk* g_print_dialog = NULL; 26 PrintDialogGtk* g_print_dialog = NULL;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 g_object_unref(job); 172 g_object_unref(job);
173 173
174 base::FileUtilProxy::Delete( 174 base::FileUtilProxy::Delete(
175 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE), 175 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
176 path_to_pdf_, 176 path_to_pdf_,
177 false, 177 false,
178 NULL); 178 NULL);
179 179
180 delete this; 180 delete this;
181 } 181 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud_uitest.cc ('k') | chrome/browser/printing/print_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698