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

Unified Diff: chrome/app/main_dll_loader_win.cc

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/app/chrome_watcher_command_line_win_unittest.cc ('k') | chrome/app/mash/mash_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/main_dll_loader_win.cc
diff --git a/chrome/app/main_dll_loader_win.cc b/chrome/app/main_dll_loader_win.cc
index 6118f444f5aecf0d12940f8f6c9367810d8c2a11..7097e833446c6a3b721f57ab473f347ed468eb59 100644
--- a/chrome/app/main_dll_loader_win.cc
+++ b/chrome/app/main_dll_loader_win.cc
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chrome/app/main_dll_loader_win.h"
+
#include <windows.h> // NOLINT
#include <shlwapi.h> // NOLINT
#include <stddef.h>
#include <userenv.h> // NOLINT
-#include "chrome/app/main_dll_loader_win.h"
+#include <memory>
#include "base/base_paths.h"
#include "base/base_switches.h"
@@ -17,7 +19,6 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
#include "base/strings/string16.h"
#include "base/strings/string_util.h"
@@ -212,9 +213,9 @@ class ChromeDllLoader : public MainDllLoader {
int OnBeforeExit(int return_code, const base::FilePath& dll_path) override;
private:
- scoped_ptr<ChromeWatcherClient> chrome_watcher_client_;
+ std::unique_ptr<ChromeWatcherClient> chrome_watcher_client_;
#if BUILDFLAG(ENABLE_KASKO)
- scoped_ptr<KaskoClient> kasko_client_;
+ std::unique_ptr<KaskoClient> kasko_client_;
#endif
};
« no previous file with comments | « chrome/app/chrome_watcher_command_line_win_unittest.cc ('k') | chrome/app/mash/mash_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698