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

Unified Diff: chromeos/printing/ppd_provider.h

Issue 2939373003: Convert PpdCache and PpdProvider to TaskScheduler. (Closed)
Patch Set: find can skip dir creation Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/printing/ppd_cache_unittest.cc ('k') | chromeos/printing/ppd_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/printing/ppd_provider.h
diff --git a/chromeos/printing/ppd_provider.h b/chromeos/printing/ppd_provider.h
index 26ae49fdc2f794264e473753fae97654526a8174..faf81f34a6e8bc6e087e74a9e34a4a94da57706b 100644
--- a/chromeos/printing/ppd_provider.h
+++ b/chromeos/printing/ppd_provider.h
@@ -12,7 +12,6 @@
#include "base/callback.h"
#include "base/files/file_path.h"
-#include "base/sequenced_task_runner.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/printing/printer_configuration.h"
@@ -91,7 +90,6 @@ class CHROMEOS_EXPORT PpdProvider : public base::RefCounted<PpdProvider> {
const std::string& browser_locale,
scoped_refptr<net::URLRequestContextGetter> url_context_getter,
scoped_refptr<PpdCache> cache,
- scoped_refptr<base::SequencedTaskRunner> disk_task_runner,
const Options& options = Options());
// Get all manufacturers for which we have drivers. Keys of the map will be
@@ -134,10 +132,6 @@ class CHROMEOS_EXPORT PpdProvider : public base::RefCounted<PpdProvider> {
virtual void ResolvePpd(const Printer::PpdReference& reference,
const ResolvePpdCallback& cb) = 0;
- // Hook for testing. Returns true if there are no API calls that have not
- // yet completed.
- virtual bool Idle() const = 0;
-
protected:
friend class base::RefCounted<PpdProvider>;
virtual ~PpdProvider() {}
« no previous file with comments | « chromeos/printing/ppd_cache_unittest.cc ('k') | chromeos/printing/ppd_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698