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

Unified Diff: extensions/browser/updater/update_service_unittest.cc

Issue 1909773002: Convert //extensions/browser from scoped_ptr 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
« no previous file with comments | « extensions/browser/updater/update_service.h ('k') | extensions/browser/user_script_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/updater/update_service_unittest.cc
diff --git a/extensions/browser/updater/update_service_unittest.cc b/extensions/browser/updater/update_service_unittest.cc
index eb8213ad6dd307cae32b4fc73cac8c1c46f53891..83f42d6c92b1fdcdae81bacc1513289d780df259 100644
--- a/extensions/browser/updater/update_service_unittest.cc
+++ b/extensions/browser/updater/update_service_unittest.cc
@@ -195,7 +195,7 @@ class UpdateServiceTest : public ExtensionsTest {
private:
UpdateService* update_service_;
scoped_refptr<FakeUpdateClient> update_client_;
- scoped_ptr<content::TestBrowserThreadBundle> browser_threads_;
+ std::unique_ptr<content::TestBrowserThreadBundle> browser_threads_;
MockExtensionSystemFactory<FakeExtensionSystem>
fake_extension_system_factory_;
};
@@ -261,7 +261,7 @@ TEST_F(UpdateServiceTest, BasicUpdateOperations) {
// Test the install callback.
base::ScopedTempDir new_version_dir;
ASSERT_TRUE(new_version_dir.CreateUniqueTempDir());
- scoped_ptr<base::DictionaryValue> new_manifest(
+ std::unique_ptr<base::DictionaryValue> new_manifest(
extension1->manifest()->value()->DeepCopy());
new_manifest->SetString("version", "2.0");
« no previous file with comments | « extensions/browser/updater/update_service.h ('k') | extensions/browser/user_script_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698