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

Unified Diff: chrome/browser/ui/android/tab_model/tab_model.h

Issue 1865213004: Convert //chrome/browser/ui 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/ui/android/tab_model/tab_model.h
diff --git a/chrome/browser/ui/android/tab_model/tab_model.h b/chrome/browser/ui/android/tab_model/tab_model.h
index bb83da1fb5b514834c99efe2544bb47c9312fbe7..e4bd985bd4c4b170532584f1b4e947711ff4102f 100644
--- a/chrome/browser/ui/android/tab_model/tab_model.h
+++ b/chrome/browser/ui/android/tab_model/tab_model.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_ANDROID_TAB_MODEL_TAB_MODEL_H_
#define CHROME_BROWSER_UI_ANDROID_TAB_MODEL_TAB_MODEL_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/sessions/core/session_id.h"
#include "components/sync_sessions/synced_window_delegate.h"
#include "components/toolbar/toolbar_model.h"
@@ -81,7 +82,8 @@ class TabModel : public content::NotificationObserver {
bool is_off_the_record_;
// The SyncedWindowDelegate associated with this TabModel.
- scoped_ptr<browser_sync::SyncedWindowDelegateAndroid> synced_window_delegate_;
+ std::unique_ptr<browser_sync::SyncedWindowDelegateAndroid>
+ synced_window_delegate_;
// Unique identifier of this TabModel for session restore. This id is only
// unique within the current session, and is not guaranteed to be unique

Powered by Google App Engine
This is Rietveld 408576698