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

Unified Diff: chrome/browser/extensions/api/declarative_content/declarative_content_condition_tracker_test.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/declarative_content/declarative_content_condition_tracker_test.h
diff --git a/chrome/browser/extensions/api/declarative_content/declarative_content_condition_tracker_test.h b/chrome/browser/extensions/api/declarative_content/declarative_content_condition_tracker_test.h
index 7656f3a9fa18c539496582210660befdb1e582c1..3cad3939ab95b4d237ca4cb59d25b41118a81797 100644
--- a/chrome/browser/extensions/api/declarative_content/declarative_content_condition_tracker_test.h
+++ b/chrome/browser/extensions/api/declarative_content/declarative_content_condition_tracker_test.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DECLARATIVE_CONTENT_CONDITION_TRACKER_TEST_H_
#define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DECLARATIVE_CONTENT_CONDITION_TRACKER_TEST_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/render_view_host.h"
@@ -33,7 +34,7 @@ class DeclarativeContentConditionTrackerTest : public testing::Test {
protected:
// Creates a new WebContents and retains ownership.
- scoped_ptr<content::WebContents> MakeTab();
+ std::unique_ptr<content::WebContents> MakeTab();
// Gets the MockRenderProcessHost associated with a WebContents.
content::MockRenderProcessHost* GetMockRenderProcessHost(
@@ -49,7 +50,7 @@ class DeclarativeContentConditionTrackerTest : public testing::Test {
// Enables MockRenderProcessHosts.
content::RenderViewHostTestEnabler render_view_host_test_enabler_;
- const scoped_ptr<TestingProfile> profile_;
+ const std::unique_ptr<TestingProfile> profile_;
uintptr_t next_predicate_group_id_;

Powered by Google App Engine
This is Rietveld 408576698