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

Unified Diff: extensions/browser/extensions_test.h

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/extensions_browser_client.cc ('k') | extensions/browser/external_install_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extensions_test.h
diff --git a/extensions/browser/extensions_test.h b/extensions/browser/extensions_test.h
index e930421a1e1c7fda437e560af79621c16643a393..f4462e2681c8b0d0fae786e59861a06defc1d816 100644
--- a/extensions/browser/extensions_test.h
+++ b/extensions/browser/extensions_test.h
@@ -5,9 +5,10 @@
#ifndef EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_
#define EXTENSIONS_BROWSER_EXTENSIONS_TEST_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/public/test/test_renderer_host.h"
#include "extensions/browser/mock_extension_system.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -52,11 +53,11 @@ class ExtensionsTest : public testing::Test {
private:
// TODO(yoz): Add a NotificationService here; it's used widely enough.
- scoped_ptr<content::ContentClient> content_client_;
- scoped_ptr<content::ContentUtilityClient> content_utility_client_;
- scoped_ptr<content::ContentBrowserClient> content_browser_client_;
- scoped_ptr<content::BrowserContext> browser_context_;
- scoped_ptr<TestExtensionsBrowserClient> extensions_browser_client_;
+ std::unique_ptr<content::ContentClient> content_client_;
+ std::unique_ptr<content::ContentUtilityClient> content_utility_client_;
+ std::unique_ptr<content::ContentBrowserClient> content_browser_client_;
+ std::unique_ptr<content::BrowserContext> browser_context_;
+ std::unique_ptr<TestExtensionsBrowserClient> extensions_browser_client_;
// The existence of this object enables tests via
// RenderViewHostTester.
« no previous file with comments | « extensions/browser/extensions_browser_client.cc ('k') | extensions/browser/external_install_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698