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

Unified Diff: chromeos/system/statistics_provider.h

Issue 2958353002: [Cleanup] Migrate the StatisticsProvider to use the TaskScheduler (Closed)
Patch Set: rewrap a line 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/system/fake_statistics_provider.cc ('k') | chromeos/system/statistics_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/system/statistics_provider.h
diff --git a/chromeos/system/statistics_provider.h b/chromeos/system/statistics_provider.h
index 7f8b3c23b9afa65400a3f68cfe4b7e31ea842998..154336d2e0cf109a4057290abe51aac7e8610f84 100644
--- a/chromeos/system/statistics_provider.h
+++ b/chromeos/system/statistics_provider.h
@@ -10,10 +10,6 @@
#include "base/memory/ref_counted.h"
#include "chromeos/chromeos_export.h"
-namespace base {
-class TaskRunner;
-}
-
namespace chromeos {
namespace system {
@@ -91,11 +87,8 @@ CHROMEOS_EXPORT extern const char kKeyboardLayoutKey[];
// This interface provides access to Chrome OS statistics.
class CHROMEOS_EXPORT StatisticsProvider {
public:
- // Starts loading the machine statistics. File operations are performed on
- // |file_task_runner|.
- virtual void StartLoadingMachineStatistics(
- const scoped_refptr<base::TaskRunner>& file_task_runner,
- bool load_oem_manifest) = 0;
+ // Starts loading the machine statistics.
+ virtual void StartLoadingMachineStatistics(bool load_oem_manifest) = 0;
// Returns true if the named machine statistic (e.g. "hardware_class") is
// found and stores it in |result| (if provided). Probing for the existence of
« no previous file with comments | « chromeos/system/fake_statistics_provider.cc ('k') | chromeos/system/statistics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698