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

Side by Side Diff: chrome/browser/ui/webui/print_preview/printer_backend_proxy.cc

Issue 2695823008: Add missing #include around sequenced_worker_pool.h in //chrome (Closed)
Patch Set: sync_websocket_impl & wizard_controller Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/ui/webui/print_preview/printer_backend_proxy.h" 5 #include "chrome/browser/ui/webui/print_preview/printer_backend_proxy.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/threading/sequenced_worker_pool.h"
13 #include "chrome/browser/ui/webui/print_preview/printer_capabilities.h" 14 #include "chrome/browser/ui/webui/print_preview/printer_capabilities.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "printing/backend/print_backend.h" 16 #include "printing/backend/print_backend.h"
16 17
17 namespace printing { 18 namespace printing {
18 19
19 namespace { 20 namespace {
20 21
21 PrinterList EnumeratePrintersOnBlockingPoolThread() { 22 PrinterList EnumeratePrintersOnBlockingPoolThread() {
22 DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); 23 DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread());
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 DISALLOW_COPY_AND_ASSIGN(PrinterBackendProxyDefault); 104 DISALLOW_COPY_AND_ASSIGN(PrinterBackendProxyDefault);
104 }; 105 };
105 106
106 } // namespace 107 } // namespace
107 108
108 std::unique_ptr<PrinterBackendProxy> PrinterBackendProxy::Create() { 109 std::unique_ptr<PrinterBackendProxy> PrinterBackendProxy::Create() {
109 return base::MakeUnique<PrinterBackendProxyDefault>(); 110 return base::MakeUnique<PrinterBackendProxyDefault>();
110 } 111 }
111 112
112 } // namespace printing 113 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698