| Index: chrome/installer/util/advanced_firewall_manager_win_unittest.cc
|
| diff --git a/chrome/installer/util/advanced_firewall_manager_win_unittest.cc b/chrome/installer/util/advanced_firewall_manager_win_unittest.cc
|
| index dc67e51fde9f49729f3100f4efa83de8baa3df2b..5920ea2d3c3afc200b7f4736108d8e9d35e430ce 100644
|
| --- a/chrome/installer/util/advanced_firewall_manager_win_unittest.cc
|
| +++ b/chrome/installer/util/advanced_firewall_manager_win_unittest.cc
|
| @@ -5,7 +5,7 @@
|
| #include "chrome/installer/util/advanced_firewall_manager_win.h"
|
|
|
| #include "base/path_service.h"
|
| -#include "base/process/process_handle.h"
|
| +#include "base/process/process_info.h"
|
| #include "base/win/scoped_bstr.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -18,9 +18,7 @@ class AdvancedFirewallManagerTest : public ::testing::Test {
|
| protected:
|
| // Sets up the test fixture.
|
| virtual void SetUp() override {
|
| - base::IntegrityLevel level = base::INTEGRITY_UNKNOWN;
|
| - if (!GetProcessIntegrityLevel(base::GetCurrentProcessHandle(), &level) ||
|
| - level != base::HIGH_INTEGRITY) {
|
| + if (base::GetCurrentProcessIntegrityLevel() != base::HIGH_INTEGRITY) {
|
| LOG(WARNING) << "XP or not elevated. Skipping the test.";
|
| return;
|
| };
|
|
|