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

Unified Diff: components/policy/core/browser/android/android_combined_policy_provider.h

Issue 1902633006: Convert //components/policy from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and use namespace alias Created 4 years, 8 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 | « no previous file | components/policy/core/browser/android/policy_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/browser/android/android_combined_policy_provider.h
diff --git a/components/policy/core/browser/android/android_combined_policy_provider.h b/components/policy/core/browser/android/android_combined_policy_provider.h
index 7c4706ce9783ffd3582bd4982af47409e2486fe4..2433b7f480da9a89d5ead3f574ec9755d87184e9 100644
--- a/components/policy/core/browser/android/android_combined_policy_provider.h
+++ b/components/policy/core/browser/android/android_combined_policy_provider.h
@@ -7,9 +7,10 @@
#include <jni.h>
+#include <memory>
+
#include "base/android/scoped_java_ref.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/policy/core/common/configuration_policy_provider.h"
#include "components/policy/core/common/policy_bundle.h"
#include "components/policy/policy_export.h"
@@ -54,7 +55,7 @@ class POLICY_EXPORT AndroidCombinedPolicyProvider
private:
bool initialized_;
- scoped_ptr<policy::android::PolicyConverter> policy_converter_;
+ std::unique_ptr<policy::android::PolicyConverter> policy_converter_;
base::android::ScopedJavaGlobalRef<jobject> java_combined_policy_provider_;
« no previous file with comments | « no previous file | components/policy/core/browser/android/policy_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698