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

Unified Diff: remoting/test/refresh_token_store.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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
« no previous file with comments | « remoting/test/protocol_perftest.cc ('k') | remoting/test/refresh_token_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/refresh_token_store.h
diff --git a/remoting/test/refresh_token_store.h b/remoting/test/refresh_token_store.h
index 1ee2f500192d5022c436dc150ba292fcd63a91a2..01d972c79d4ee4f73ffd71e35eaea2f8fb213644 100644
--- a/remoting/test/refresh_token_store.h
+++ b/remoting/test/refresh_token_store.h
@@ -5,9 +5,9 @@
#ifndef REMOTING_TEST_REFRESH_TOKEN_STORE_H_
#define REMOTING_TEST_REFRESH_TOKEN_STORE_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
namespace base {
class FilePath;
@@ -28,7 +28,7 @@ class RefreshTokenStore {
// Returns a RefreshTokenStore which reads/writes to a user specific token
// file on the local disk.
- static scoped_ptr<RefreshTokenStore> OnDisk(
+ static std::unique_ptr<RefreshTokenStore> OnDisk(
const std::string& user_name,
const base::FilePath& refresh_token_file_path);
};
« no previous file with comments | « remoting/test/protocol_perftest.cc ('k') | remoting/test/refresh_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698