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

Unified Diff: chrome/browser/chromeos/policy/display_rotation_default_handler.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/chromeos/policy/display_rotation_default_handler.h
diff --git a/chrome/browser/chromeos/policy/display_rotation_default_handler.h b/chrome/browser/chromeos/policy/display_rotation_default_handler.h
index 8c9bcd039ce586b04b1ad9df97e389f1ea8d7de1..eb01c57fb9294637475c822a6f6f8d5b59d03985 100644
--- a/chrome/browser/chromeos/policy/display_rotation_default_handler.h
+++ b/chrome/browser/chromeos/policy/display_rotation_default_handler.h
@@ -7,12 +7,12 @@
#include <stdint.h>
+#include <memory>
#include <set>
#include "ash/display/window_tree_host_manager.h"
#include "ash/shell_observer.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
#include "ui/gfx/display.h"
@@ -60,7 +60,8 @@ class DisplayRotationDefaultHandler
std::set<int64_t> rotated_displays_;
bool rotation_in_progress_ = false;
- scoped_ptr<chromeos::CrosSettings::ObserverSubscription> settings_observer_;
+ std::unique_ptr<chromeos::CrosSettings::ObserverSubscription>
+ settings_observer_;
DISALLOW_COPY_AND_ASSIGN(DisplayRotationDefaultHandler);
};

Powered by Google App Engine
This is Rietveld 408576698