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

Unified Diff: chrome/browser/extensions/api/sessions/session_id.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/sessions/session_id.h
diff --git a/chrome/browser/extensions/api/sessions/session_id.h b/chrome/browser/extensions/api/sessions/session_id.h
index c973f9f443fdd257c446d559c0a95b72bf21204e..627542c6c292558c73bee766a01fcfd53c0b5e9a 100644
--- a/chrome/browser/extensions/api/sessions/session_id.h
+++ b/chrome/browser/extensions/api/sessions/session_id.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_EXTENSIONS_API_SESSIONS_SESSION_ID_H__
#define CHROME_BROWSER_EXTENSIONS_API_SESSIONS_SESSION_ID_H__
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace extensions {
@@ -17,7 +17,7 @@ class SessionId {
// Returns a SessionId, representing either a local or a foreign session.
// In the case that the session is local, |session_tag_| will be empty string.
// |session_string| should be in the format that ToString() would produce.
- static scoped_ptr<SessionId> Parse(const std::string& session_string);
+ static std::unique_ptr<SessionId> Parse(const std::string& session_string);
// Constructs a SessionId object for the given session information.
// |session_tag| is the string used to uniquely identify a synced foreign

Powered by Google App Engine
This is Rietveld 408576698