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

Unified Diff: chrome/installer/util/firewall_manager_win.h

Issue 1878313003: Convert //chrome/installer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert decompress.cc in mini_installer. 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/installer/util/firewall_manager_win.h
diff --git a/chrome/installer/util/firewall_manager_win.h b/chrome/installer/util/firewall_manager_win.h
index 9411961317b2fabf531346b4405ff4e9f63964b5..9fe837f29279335a730d46a43c01cbbe70cd61f0 100644
--- a/chrome/installer/util/firewall_manager_win.h
+++ b/chrome/installer/util/firewall_manager_win.h
@@ -5,8 +5,9 @@
#ifndef CHROME_INSTALLER_UTIL_FIREWALL_MANAGER_WIN_H_
#define CHROME_INSTALLER_UTIL_FIREWALL_MANAGER_WIN_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
class BrowserDistribution;
@@ -23,8 +24,9 @@ class FirewallManager {
// Creates instance of |FirewallManager|. Implementation chooses best version
// available for current version of Windows.
- static scoped_ptr<FirewallManager> Create(BrowserDistribution* dist,
- const base::FilePath& chrome_path);
+ static std::unique_ptr<FirewallManager> Create(
+ BrowserDistribution* dist,
+ const base::FilePath& chrome_path);
// Returns true if application can one ports for incoming connections without
// triggering firewall alert. It still does not guarantee that traffic
« no previous file with comments | « chrome/installer/util/delete_tree_work_item_unittest.cc ('k') | chrome/installer/util/firewall_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698