OLD | NEW |
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 Loading... |
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 |
OLD | NEW |