Index: components/gcm_driver/crypto/gcm_key_store.h |
diff --git a/components/gcm_driver/crypto/gcm_key_store.h b/components/gcm_driver/crypto/gcm_key_store.h |
index c35bb310f4bb8e8e93a909fab12460658f40b24b..20a44e92108f584c2505195c8d0b4b7319aa3c95 100644 |
--- a/components/gcm_driver/crypto/gcm_key_store.h |
+++ b/components/gcm_driver/crypto/gcm_key_store.h |
@@ -37,7 +37,7 @@ class GCMKeyStore : public base::RefCounted<GCMKeyStore> { |
using DeleteCallback = base::Callback<void(bool success)>; |
GCMKeyStore(const base::FilePath& key_store_path, |
- scoped_refptr<base::SequencedTaskRunner> background_task_runner); |
+ scoped_refptr<base::SequencedTaskRunner> blocking_task_runner); |
// Retrieves the public/private key-pair associated with |app_id|, and |
// invokes |callback| when they are available, or when an error occurred. |
@@ -85,6 +85,9 @@ class GCMKeyStore : public base::RefCounted<GCMKeyStore> { |
// Path in which the key store database will be saved. |
base::FilePath key_store_path_; |
+ // Blocking task runner which the database will do I/O operations on. |
+ scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; |
+ |
// Instance of the ProtoDatabase backing the key store. |
scoped_ptr<leveldb_proto::ProtoDatabase<EncryptionData>> database_; |