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

Unified Diff: components/gcm_driver/instance_id/instance_id_android.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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 | « components/drive/job_scheduler.h ('k') | components/spellcheck/renderer/spellcheck_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/instance_id/instance_id_android.h
diff --git a/components/gcm_driver/instance_id/instance_id_android.h b/components/gcm_driver/instance_id/instance_id_android.h
index 57760e38d79ee139fa827236accf9eb7a687d2f9..44302d03aa39a99cda4b5de3a4ae0ff1fef56ac1 100644
--- a/components/gcm_driver/instance_id/instance_id_android.h
+++ b/components/gcm_driver/instance_id/instance_id_android.h
@@ -80,11 +80,11 @@ class InstanceIDAndroid : public InstanceID {
private:
base::android::ScopedJavaGlobalRef<jobject> java_ref_;
- IDMap<GetIDCallback, IDMapOwnPointer> get_id_callbacks_;
- IDMap<GetCreationTimeCallback, IDMapOwnPointer> get_creation_time_callbacks_;
- IDMap<GetTokenCallback, IDMapOwnPointer> get_token_callbacks_;
- IDMap<DeleteTokenCallback, IDMapOwnPointer> delete_token_callbacks_;
- IDMap<DeleteIDCallback, IDMapOwnPointer> delete_id_callbacks_;
+ IDMap<std::unique_ptr<GetIDCallback>> get_id_callbacks_;
+ IDMap<std::unique_ptr<GetCreationTimeCallback>> get_creation_time_callbacks_;
+ IDMap<std::unique_ptr<GetTokenCallback>> get_token_callbacks_;
+ IDMap<std::unique_ptr<DeleteTokenCallback>> delete_token_callbacks_;
+ IDMap<std::unique_ptr<DeleteIDCallback>> delete_id_callbacks_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « components/drive/job_scheduler.h ('k') | components/spellcheck/renderer/spellcheck_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698