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

Unified Diff: android_webview/browser/aw_permission_manager.h

Issue 1852513003: Convert //android_webview to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git is hard Created 4 years, 9 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 | « android_webview/browser/aw_metrics_service_client.cc ('k') | android_webview/browser/aw_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_permission_manager.h
diff --git a/android_webview/browser/aw_permission_manager.h b/android_webview/browser/aw_permission_manager.h
index abb5a396a29bb8e5267dd1eea4fb35b4a564a7e8..da741c0982b9bf29728e0c0f54031d3367fef66f 100644
--- a/android_webview/browser/aw_permission_manager.h
+++ b/android_webview/browser/aw_permission_manager.h
@@ -5,10 +5,11 @@
#ifndef ANDROID_WEBVIEW_BROWSER_AW_PERMISSION_MANAGER_H_
#define ANDROID_WEBVIEW_BROWSER_AW_PERMISSION_MANAGER_H_
+#include <memory>
+
#include "base/callback_forward.h"
#include "base/id_map.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/permission_manager.h"
@@ -69,7 +70,7 @@ class AwPermissionManager : public content::PermissionManager {
bool allowed);
PendingRequestsMap pending_requests_;
- scoped_ptr<LastRequestResultCache> result_cache_;
+ std::unique_ptr<LastRequestResultCache> result_cache_;
base::WeakPtrFactory<AwPermissionManager> weak_ptr_factory_;
« no previous file with comments | « android_webview/browser/aw_metrics_service_client.cc ('k') | android_webview/browser/aw_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698