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

Side by Side Diff: chrome/browser/ui/webui/print_preview/printer_capabilities.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_capabilities.h" 5 #include "chrome/browser/ui/webui/print_preview/printer_capabilities.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
15 #include "base/threading/sequenced_worker_pool.h"
15 #include "base/values.h" 16 #include "base/values.h"
16 #include "chrome/common/cloud_print/cloud_print_cdd_conversion.h" 17 #include "chrome/common/cloud_print/cloud_print_cdd_conversion.h"
17 #include "chrome/common/crash_keys.h" 18 #include "chrome/common/crash_keys.h"
18 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
19 #include "printing/backend/print_backend.h" 20 #include "printing/backend/print_backend.h"
20 #include "printing/backend/print_backend_consts.h" 21 #include "printing/backend/print_backend_consts.h"
21 22
22 namespace printing { 23 namespace printing {
23 24
24 const char kPrinterId[] = "printerId"; 25 const char kPrinterId[] = "printerId";
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 103
103 auto capabilities = GetPrinterCapabilitiesOnBlockingPoolThread(device_name); 104 auto capabilities = GetPrinterCapabilitiesOnBlockingPoolThread(device_name);
104 if (!capabilities) 105 if (!capabilities)
105 capabilities = base::MakeUnique<base::DictionaryValue>(); 106 capabilities = base::MakeUnique<base::DictionaryValue>();
106 printer_info->Set(kPrinterCapabilities, std::move(capabilities)); 107 printer_info->Set(kPrinterCapabilities, std::move(capabilities));
107 108
108 return printer_info; 109 return printer_info;
109 } 110 }
110 111
111 } // namespace printing 112 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698