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

Side by Side Diff: chrome/installer/util/firewall_manager_win.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/firewall_manager_win.h" 5 #include "chrome/installer/util/firewall_manager_win.h"
6 6
7 #include <stdint.h>
8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/macros.h"
8 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
9 #include "chrome/installer/util/advanced_firewall_manager_win.h" 12 #include "chrome/installer/util/advanced_firewall_manager_win.h"
10 #include "chrome/installer/util/browser_distribution.h" 13 #include "chrome/installer/util/browser_distribution.h"
11 #include "chrome/installer/util/install_util.h" 14 #include "chrome/installer/util/install_util.h"
12 #include "chrome/installer/util/installer_util_strings.h" 15 #include "chrome/installer/util/installer_util_strings.h"
13 #include "chrome/installer/util/l10n_string_util.h" 16 #include "chrome/installer/util/l10n_string_util.h"
14 #include "chrome/installer/util/legacy_firewall_manager_win.h" 17 #include "chrome/installer/util/legacy_firewall_manager_win.h"
15 18
16 namespace installer { 19 namespace installer {
17 20
18 namespace { 21 namespace {
19 22
20 const uint16 kDefaultMdnsPort = 5353; 23 const uint16_t kDefaultMdnsPort = 5353;
21 24
22 class FirewallManagerAdvancedImpl : public FirewallManager { 25 class FirewallManagerAdvancedImpl : public FirewallManager {
23 public: 26 public:
24 FirewallManagerAdvancedImpl() {} 27 FirewallManagerAdvancedImpl() {}
25 ~FirewallManagerAdvancedImpl() override {} 28 ~FirewallManagerAdvancedImpl() override {}
26 29
27 bool Init(const base::string16& app_name, const base::FilePath& app_path) { 30 bool Init(const base::string16& app_name, const base::FilePath& app_path) {
28 return manager_.Init(app_name, app_path); 31 return manager_.Init(app_name, app_path);
29 } 32 }
30 33
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 if (legacy_manager->Init(dist->GetDisplayName(), chrome_path)) 116 if (legacy_manager->Init(dist->GetDisplayName(), chrome_path))
114 return legacy_manager.Pass(); 117 return legacy_manager.Pass();
115 118
116 return scoped_ptr<FirewallManager>(); 119 return scoped_ptr<FirewallManager>();
117 } 120 }
118 121
119 FirewallManager::FirewallManager() { 122 FirewallManager::FirewallManager() {
120 } 123 }
121 124
122 } // namespace installer 125 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/firewall_manager_win.h ('k') | chrome/installer/util/google_chrome_binaries_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698