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

Unified Diff: android_webview/native/aw_contents_client_bridge.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
Index: android_webview/native/aw_contents_client_bridge.h
diff --git a/android_webview/native/aw_contents_client_bridge.h b/android_webview/native/aw_contents_client_bridge.h
index 5e1f6cd93c6c22a138cfba7283c3ce1a8acda07a..0b4091e9cd17a29324d530ab80ddde2c8b5d96ed 100644
--- a/android_webview/native/aw_contents_client_bridge.h
+++ b/android_webview/native/aw_contents_client_bridge.h
@@ -95,12 +95,12 @@ class AwContentsClientBridge : public AwContentsClientBridgeBase {
typedef const base::Callback<void(content::CertificateRequestResultType)>
CertErrorCallback;
- IDMap<CertErrorCallback, IDMapOwnPointer> pending_cert_error_callbacks_;
- IDMap<content::JavaScriptDialogManager::DialogClosedCallback, IDMapOwnPointer>
+ IDMap<std::unique_ptr<CertErrorCallback>> pending_cert_error_callbacks_;
+ IDMap<std::unique_ptr<content::JavaScriptDialogManager::DialogClosedCallback>>
pending_js_dialog_callbacks_;
// |pending_client_cert_request_delegates_| owns its pointers, but IDMap
// doesn't provide Release, so ownership is managed manually.
- IDMap<content::ClientCertificateDelegate>
+ IDMap<content::ClientCertificateDelegate*>
pending_client_cert_request_delegates_;
};
« no previous file with comments | « android_webview/browser/aw_permission_manager.h ('k') | android_webview/native/aw_contents_client_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698