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

Unified Diff: chrome/browser/extensions/api/history/history_api.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
« no previous file with comments | « chrome/browser/extensions/api/gcm/gcm_api.cc ('k') | chrome/browser/extensions/api/history/history_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/history/history_api.h
diff --git a/chrome/browser/extensions/api/history/history_api.h b/chrome/browser/extensions/api/history/history_api.h
index 55c48faa7773dc243483d0d26b2b6cf127c0d95a..bfbb014049e802dc750f75907971f36cc989c6d0 100644
--- a/chrome/browser/extensions/api/history/history_api.h
+++ b/chrome/browser/extensions/api/history/history_api.h
@@ -52,7 +52,7 @@ class HistoryEventRouter : public history::HistoryServiceObserver {
void DispatchEvent(Profile* profile,
events::HistogramValue histogram_value,
const std::string& event_name,
- scoped_ptr<base::ListValue> event_args);
+ std::unique_ptr<base::ListValue> event_args);
Profile* profile_;
ScopedObserver<history::HistoryService, history::HistoryServiceObserver>
@@ -87,7 +87,7 @@ class HistoryAPI : public BrowserContextKeyedAPI, public EventRouter::Observer {
static const bool kServiceIsNULLWhileTesting = true;
// Created lazily upon OnListenerAdded.
- scoped_ptr<HistoryEventRouter> history_event_router_;
+ std::unique_ptr<HistoryEventRouter> history_event_router_;
};
template <>
« no previous file with comments | « chrome/browser/extensions/api/gcm/gcm_api.cc ('k') | chrome/browser/extensions/api/history/history_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698