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

Unified Diff: chrome/browser/extensions/activity_log/counting_policy.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/activity_log/counting_policy.h
diff --git a/chrome/browser/extensions/activity_log/counting_policy.h b/chrome/browser/extensions/activity_log/counting_policy.h
index 26b090a59419ea4f0b66f40162878dbbd80d62df..33f24ece4f212bdb9def531f7c0c228d02abdb3c 100644
--- a/chrome/browser/extensions/activity_log/counting_policy.h
+++ b/chrome/browser/extensions/activity_log/counting_policy.h
@@ -37,8 +37,8 @@ class CountingPolicy : public ActivityLogDatabasePolicy {
const std::string& page_url,
const std::string& arg_url,
const int days_ago,
- const base::Callback<void(scoped_ptr<Action::ActionVector>)>& callback)
- override;
+ const base::Callback<void(std::unique_ptr<Action::ActionVector>)>&
+ callback) override;
void Close() override;
@@ -89,7 +89,7 @@ class CountingPolicy : public ActivityLogDatabasePolicy {
// Internal method to read data from the database; called on the database
// thread.
- scoped_ptr<Action::ActionVector> DoReadFilteredData(
+ std::unique_ptr<Action::ActionVector> DoReadFilteredData(
const std::string& extension_id,
const Action::ActionType type,
const std::string& api_name,

Powered by Google App Engine
This is Rietveld 408576698