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

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

Issue 1062743006: Add installer_util_unittests to the GN windows build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wintests3
Patch Set: Fixes Created 5 years, 7 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/firewall_manager_win.h" 5 #include "chrome/installer/util/firewall_manager_win.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "chrome/installer/util/advanced_firewall_manager_win.h" 9 #include "chrome/installer/util/advanced_firewall_manager_win.h"
10 #include "chrome/installer/util/browser_distribution.h" 10 #include "chrome/installer/util/browser_distribution.h"
11 #include "chrome/installer/util/install_util.h" 11 #include "chrome/installer/util/install_util.h"
12 #include "chrome/installer/util/installer_util_strings.h"
12 #include "chrome/installer/util/l10n_string_util.h" 13 #include "chrome/installer/util/l10n_string_util.h"
13 #include "chrome/installer/util/legacy_firewall_manager_win.h" 14 #include "chrome/installer/util/legacy_firewall_manager_win.h"
14 15
15 #include "installer_util_strings.h" // NOLINT
16
17 namespace installer { 16 namespace installer {
18 17
19 namespace { 18 namespace {
20 19
21 const uint16 kDefaultMdnsPort = 5353; 20 const uint16 kDefaultMdnsPort = 5353;
22 21
23 class FirewallManagerAdvancedImpl : public FirewallManager { 22 class FirewallManagerAdvancedImpl : public FirewallManager {
24 public: 23 public:
25 FirewallManagerAdvancedImpl() {} 24 FirewallManagerAdvancedImpl() {}
26 ~FirewallManagerAdvancedImpl() override {} 25 ~FirewallManagerAdvancedImpl() override {}
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 if (legacy_manager->Init(dist->GetDisplayName(), chrome_path)) 113 if (legacy_manager->Init(dist->GetDisplayName(), chrome_path))
115 return legacy_manager.Pass(); 114 return legacy_manager.Pass();
116 115
117 return scoped_ptr<FirewallManager>(); 116 return scoped_ptr<FirewallManager>();
118 } 117 }
119 118
120 FirewallManager::FirewallManager() { 119 FirewallManager::FirewallManager() {
121 } 120 }
122 121
123 } // namespace installer 122 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/delete_after_reboot_helper_unittest.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698