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

Unified Diff: chrome/browser/ui/app_list/search/omnibox_provider.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/app_list/search/omnibox_provider.h
diff --git a/chrome/browser/ui/app_list/search/omnibox_provider.h b/chrome/browser/ui/app_list/search/omnibox_provider.h
index 46dfcd800702e9eb585a965fd63a6a5a4f348991..587bf3b3ce59d44b565dbf6e19b704d9bb2b71e2 100644
--- a/chrome/browser/ui/app_list/search/omnibox_provider.h
+++ b/chrome/browser/ui/app_list/search/omnibox_provider.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_OMNIBOX_PROVIDER_H_
#define CHROME_BROWSER_UI_APP_LIST_SEARCH_OMNIBOX_PROVIDER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/omnibox/browser/autocomplete_controller_delegate.h"
#include "ui/app_list/search_provider.h"
@@ -41,7 +42,7 @@ class OmniboxProvider : public SearchProvider,
// The omnibox AutocompleteController that collects/sorts/dup-
// eliminates the results as they come in.
- scoped_ptr<AutocompleteController> controller_;
+ std::unique_ptr<AutocompleteController> controller_;
// Whether the current query is a voice query.
bool is_voice_query_;

Powered by Google App Engine
This is Rietveld 408576698