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

Side by Side Diff: chrome/installer/util/legacy_firewall_manager_win_unittest.cc

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 #include "chrome/installer/util/legacy_firewall_manager_win.h" 5 #include "chrome/installer/util/legacy_firewall_manager_win.h"
6 6
7 #include "base/macros.h"
7 #include "base/path_service.h" 8 #include "base/path_service.h"
8 #include "base/process/process_info.h" 9 #include "base/process/process_info.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace installer { 12 namespace installer {
12 13
13 class LegacyFirewallManagerTest : public ::testing::Test { 14 class LegacyFirewallManagerTest : public ::testing::Test {
14 public: 15 public:
15 LegacyFirewallManagerTest() : skip_test_(true) {} 16 LegacyFirewallManagerTest() : skip_test_(true) {}
16 17
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 return; 64 return;
64 EXPECT_TRUE(manager_.SetAllowIncomingConnection(false)); 65 EXPECT_TRUE(manager_.SetAllowIncomingConnection(false));
65 bool allowed = true; 66 bool allowed = true;
66 EXPECT_TRUE(manager_.GetAllowIncomingConnection(&allowed)); 67 EXPECT_TRUE(manager_.GetAllowIncomingConnection(&allowed));
67 EXPECT_FALSE(allowed); 68 EXPECT_FALSE(allowed);
68 manager_.DeleteRule(); 69 manager_.DeleteRule();
69 EXPECT_FALSE(manager_.GetAllowIncomingConnection(NULL)); 70 EXPECT_FALSE(manager_.GetAllowIncomingConnection(NULL));
70 } 71 }
71 72
72 } // namespace installer 73 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/legacy_firewall_manager_win.h ('k') | chrome/installer/util/logging_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698