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

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

Issue 2463473002: Present the printer list from preferences for Chrome OS. (Closed)
Patch Set: tidy Created 4 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINTER_BACKEND_PROXY_H_
6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINTER_BACKEND_PROXY_H_
7
8 #include <memory>
9 #include <string>
10
11 #include "base/values.h"
12 #include "printing/backend/print_backend.h"
13
14 class Profile;
15
16 namespace printing {
17
18 // Returns the name of the default printer.
19 std::string GetDefaultPrinterOnBlockingPoolThread();
20
21 // Returns printers for display in the print dialog.
22 PrinterList EnumeratePrintersOnBlockingPoolThread(Profile* profile);
23
24 } // namespace printing
25
26 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINTER_BACKEND_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698