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

Unified Diff: content/public/browser/power_save_blocker.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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: content/public/browser/power_save_blocker.h
diff --git a/content/public/browser/power_save_blocker.h b/content/public/browser/power_save_blocker.h
index 5f0f62806304ca5f507ddf50f4aa2202972b64d6..7b553e7f54e6a27eca02c056b05890f49a763bc1 100644
--- a/content/public/browser/power_save_blocker.h
+++ b/content/public/browser/power_save_blocker.h
@@ -5,9 +5,9 @@
#ifndef CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_H_
#define CONTENT_PUBLIC_BROWSER_POWER_SAVE_BLOCKER_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
namespace content {
@@ -48,9 +48,10 @@ class CONTENT_EXPORT PowerSaveBlocker {
// |reason| and |description| (a more-verbose, human-readable justification of
// the blocking) may be provided to the underlying system APIs on some
// platforms.
- static scoped_ptr<PowerSaveBlocker> Create(PowerSaveBlockerType type,
- Reason reason,
- const std::string& description);
+ static std::unique_ptr<PowerSaveBlocker> Create(
+ PowerSaveBlockerType type,
+ Reason reason,
+ const std::string& description);
};
} // namespace content
« no previous file with comments | « content/public/browser/platform_notification_service.h ('k') | content/public/browser/presentation_service_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698