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

Unified Diff: chrome/common/extensions/chrome_extensions_client_unittest.cc

Issue 1880143002: Convert chrome/common to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/common/extensions/chrome_extensions_client_unittest.cc
diff --git a/chrome/common/extensions/chrome_extensions_client_unittest.cc b/chrome/common/extensions/chrome_extensions_client_unittest.cc
index ad2de89f1f3f046f92b3a0a2521507a95849bc35..0c2ebd649d0df888bdfe66063b864d0ddee4a88d 100644
--- a/chrome/common/extensions/chrome_extensions_client_unittest.cc
+++ b/chrome/common/extensions/chrome_extensions_client_unittest.cc
@@ -4,6 +4,7 @@
#include "chrome/common/extensions/chrome_extensions_client.h"
+#include <memory>
#include <set>
#include <string>
@@ -24,7 +25,7 @@ class ChromeExtensionsClientTest : public testing::Test {
}
private:
- scoped_ptr<ChromeExtensionsClient> extensions_client_;
+ std::unique_ptr<ChromeExtensionsClient> extensions_client_;
};
// Test that a browser action extension returns a path to an icon.
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | chrome/common/extensions/chrome_manifest_url_handlers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698