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

Unified Diff: chrome/browser/chromeos/launcher_search_provider/error_reporter.h

Issue 1870793002: Convert //chrome/browser/chromeos 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/chromeos/launcher_search_provider/error_reporter.h
diff --git a/chrome/browser/chromeos/launcher_search_provider/error_reporter.h b/chrome/browser/chromeos/launcher_search_provider/error_reporter.h
index ef1925c27a1508cecf3d5d7ea6646a229badb11f..c9904335f8c70cb0907210f3536a46aa3906429e 100644
--- a/chrome/browser/chromeos/launcher_search_provider/error_reporter.h
+++ b/chrome/browser/chromeos/launcher_search_provider/error_reporter.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_ERROR_REPORTER_H_
#define CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_ERROR_REPORTER_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace content {
class RenderFrameHost;
@@ -28,7 +28,7 @@ class ErrorReporter {
// Duplicate the instance. Since ErrorReporter is handled as scoped_ptr in the
// code, we need this to duplicate error reporter to set it to each result.
- virtual scoped_ptr<ErrorReporter> Duplicate();
+ virtual std::unique_ptr<ErrorReporter> Duplicate();
private:
// Not owned.

Powered by Google App Engine
This is Rietveld 408576698