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

Unified Diff: chrome/installer/util/legacy_firewall_manager_win.cc

Issue 2824773002: Rename ScopedComPtr::get() to ScopedComPtr::Get() (Closed)
Patch Set: Update to 5293966 Created 3 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/installer/util/advanced_firewall_manager_win.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/legacy_firewall_manager_win.cc
diff --git a/chrome/installer/util/legacy_firewall_manager_win.cc b/chrome/installer/util/legacy_firewall_manager_win.cc
index de8fd5e4c85dcf3ff45990a8480067bc29fcbe21..a27a8d91b8e11a8eba4851deb90792bbc4142adb 100644
--- a/chrome/installer/util/legacy_firewall_manager_win.cc
+++ b/chrome/installer/util/legacy_firewall_manager_win.cc
@@ -52,7 +52,7 @@ bool LegacyFirewallManager::GetAllowIncomingConnection(bool* value) {
// this chrome.exe.
base::win::ScopedComPtr<INetFwAuthorizedApplications> authorized_apps(
GetAuthorizedApplications());
- if (!authorized_apps.get())
+ if (!authorized_apps.Get())
return false;
base::win::ScopedComPtr<INetFwAuthorizedApplication> chrome_application;
@@ -74,15 +74,15 @@ bool LegacyFirewallManager::GetAllowIncomingConnection(bool* value) {
bool LegacyFirewallManager::SetAllowIncomingConnection(bool allow) {
base::win::ScopedComPtr<INetFwAuthorizedApplications> authorized_apps(
GetAuthorizedApplications());
- if (!authorized_apps.get())
+ if (!authorized_apps.Get())
return false;
// Authorize chrome.
base::win::ScopedComPtr<INetFwAuthorizedApplication> authorization =
CreateChromeAuthorization(allow);
- if (!authorization.get())
+ if (!authorization.Get())
return false;
- HRESULT hr = authorized_apps->Add(authorization.get());
+ HRESULT hr = authorized_apps->Add(authorization.Get());
DLOG_IF(ERROR, FAILED(hr)) << logging::SystemErrorCodeToString(hr);
return SUCCEEDED(hr);
}
@@ -90,7 +90,7 @@ bool LegacyFirewallManager::SetAllowIncomingConnection(bool allow) {
void LegacyFirewallManager::DeleteRule() {
base::win::ScopedComPtr<INetFwAuthorizedApplications> authorized_apps(
GetAuthorizedApplications());
- if (!authorized_apps.get())
+ if (!authorized_apps.Get())
return;
authorized_apps->Remove(base::win::ScopedBstr(app_path_.value().c_str()));
}
« no previous file with comments | « chrome/installer/util/advanced_firewall_manager_win.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698