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

Unified Diff: chrome/browser/extensions/api/experience_sampling_private/experience_sampling.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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
Index: chrome/browser/extensions/api/experience_sampling_private/experience_sampling.h
diff --git a/chrome/browser/extensions/api/experience_sampling_private/experience_sampling.h b/chrome/browser/extensions/api/experience_sampling_private/experience_sampling.h
index 398b0c496b5aafcaa256001cb2a0fc150e58e1f3..0283c44418bd72456629504d792114e009591162 100644
--- a/chrome/browser/extensions/api/experience_sampling_private/experience_sampling.h
+++ b/chrome/browser/extensions/api/experience_sampling_private/experience_sampling.h
@@ -36,12 +36,12 @@ class ExperienceSamplingEvent {
// The Create() functions can return an empty scoped_ptr if they cannot find
// the BrowserContext. Code using them should check the scoped pointer using
// scoped_ptr::get().
- static scoped_ptr<ExperienceSamplingEvent> Create(
+ static std::unique_ptr<ExperienceSamplingEvent> Create(
const std::string& element_name,
const GURL& destination,
const GURL& referrer);
- static scoped_ptr<ExperienceSamplingEvent> Create(
+ static std::unique_ptr<ExperienceSamplingEvent> Create(
const std::string& element_name);
ExperienceSamplingEvent(const std::string& element_name,

Powered by Google App Engine
This is Rietveld 408576698