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

Unified Diff: components/sync_driver/local_device_info_provider.h

Issue 1397913002: [Sync] Componentize local_device_info_provider_impl and test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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
Index: components/sync_driver/local_device_info_provider.h
diff --git a/components/sync_driver/local_device_info_provider.h b/components/sync_driver/local_device_info_provider.h
index d61041e9e76ac4a7b000e0760023707386afd947..464146f17fd6405abcfa1c017b379ec87872cf8e 100644
--- a/components/sync_driver/local_device_info_provider.h
+++ b/components/sync_driver/local_device_info_provider.h
@@ -8,11 +8,15 @@
#include <string>
#include "base/callback_list.h"
+namespace base {
+class TaskRunner;
+}
+
namespace sync_driver {
class DeviceInfo;
-// Interface for providing sync specific informaiton about the
+// Interface for providing sync specific information about the
// local device.
class LocalDeviceInfoProvider {
public:
@@ -40,7 +44,8 @@ class LocalDeviceInfoProvider {
// Starts initializing local device info.
virtual void Initialize(
const std::string& cache_guid,
- const std::string& signin_scoped_device_id) = 0;
+ const std::string& signin_scoped_device_id,
+ const scoped_refptr<base::TaskRunner>& blocking_task_runner) = 0;
// Registers a callback to be called when local device info becomes available.
// The callback will remain registered until the

Powered by Google App Engine
This is Rietveld 408576698