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

Unified Diff: chrome/browser/ui/search/new_tab_page_interceptor_service.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/ui/search/new_tab_page_interceptor_service.h
diff --git a/chrome/browser/ui/search/new_tab_page_interceptor_service.h b/chrome/browser/ui/search/new_tab_page_interceptor_service.h
index 0226b13b65c9e11adef3f1a082bf26927e1bc4cf..ff5f22cf1d758774728c5f94a15ccd7d0cfe1480 100644
--- a/chrome/browser/ui/search/new_tab_page_interceptor_service.h
+++ b/chrome/browser/ui/search/new_tab_page_interceptor_service.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_SEARCH_NEW_TAB_PAGE_INTERCEPTOR_SERVICE_H_
#define CHROME_BROWSER_UI_SEARCH_NEW_TAB_PAGE_INTERCEPTOR_SERVICE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "components/keyed_service/core/keyed_service.h"
#include "components/search_engines/template_url_service_observer.h"
@@ -29,7 +30,7 @@ class NewTabPageInterceptorService : public KeyedService,
// TemplateURLServiceObserver override.
void OnTemplateURLServiceChanged() override;
- scoped_ptr<net::URLRequestInterceptor> CreateInterceptor();
+ std::unique_ptr<net::URLRequestInterceptor> CreateInterceptor();
private:
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698