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

Side by Side Diff: chrome/installer/util/legacy_firewall_manager_win.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_INSTALLER_UTIL_LEGACY_FIREWALL_MANAGER_WIN_H_ 5 #ifndef CHROME_INSTALLER_UTIL_LEGACY_FIREWALL_MANAGER_WIN_H_
6 #define CHROME_INSTALLER_UTIL_LEGACY_FIREWALL_MANAGER_WIN_H_ 6 #define CHROME_INSTALLER_UTIL_LEGACY_FIREWALL_MANAGER_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <netfw.h> 9 #include <netfw.h>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h"
12 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
13 #include "base/win/scoped_comptr.h" 14 #include "base/win/scoped_comptr.h"
14 15
15 namespace installer { 16 namespace installer {
16 17
17 // Manages firewall rules using Windows Firewall API. The API is 18 // Manages firewall rules using Windows Firewall API. The API is
18 // available on Windows XP with SP2 and later. Applications should use 19 // available on Windows XP with SP2 and later. Applications should use
19 // |AdvancedFirewallManager| instead of this class on Windows Vista and later. 20 // |AdvancedFirewallManager| instead of this class on Windows Vista and later.
20 // Most methods need elevation. 21 // Most methods need elevation.
21 class LegacyFirewallManager { 22 class LegacyFirewallManager {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 base::string16 app_name_; 55 base::string16 app_name_;
55 base::FilePath app_path_; 56 base::FilePath app_path_;
56 base::win::ScopedComPtr<INetFwProfile> current_profile_; 57 base::win::ScopedComPtr<INetFwProfile> current_profile_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(LegacyFirewallManager); 59 DISALLOW_COPY_AND_ASSIGN(LegacyFirewallManager);
59 }; 60 };
60 61
61 } // namespace installer 62 } // namespace installer
62 63
63 #endif // CHROME_INSTALLER_UTIL_LEGACY_FIREWALL_MANAGER_WIN_H_ 64 #endif // CHROME_INSTALLER_UTIL_LEGACY_FIREWALL_MANAGER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/language_selector_unittest.cc ('k') | chrome/installer/util/legacy_firewall_manager_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698