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

Side by Side Diff: chrome/installer/util/beacons.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, 11 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
« no previous file with comments | « chrome/installer/util/app_commands.h ('k') | chrome/installer/util/browser_distribution.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/beacons.h" 5 #include "chrome/installer/util/beacons.h"
6 6
7 #include <stdint.h>
8
7 #include "base/win/registry.h" 9 #include "base/win/registry.h"
8 #include "base/win/win_util.h" 10 #include "base/win/win_util.h"
9 #include "chrome/installer/util/app_registration_data.h" 11 #include "chrome/installer/util/app_registration_data.h"
10 #include "chrome/installer/util/browser_distribution.h" 12 #include "chrome/installer/util/browser_distribution.h"
11 #include "chrome/installer/util/install_util.h" 13 #include "chrome/installer/util/install_util.h"
12 #include "chrome/installer/util/shell_util.h" 14 #include "chrome/installer/util/shell_util.h"
13 15
14 void UpdateDefaultBrowserBeaconForPath(const base::FilePath& chrome_exe) { 16 void UpdateDefaultBrowserBeaconForPath(const base::FilePath& chrome_exe) {
15 // Getting Chrome's default state causes the beacon to be updated via a call 17 // Getting Chrome's default state causes the beacon to be updated via a call
16 // to UpdateDefaultBrowserBeaconWithState below. 18 // to UpdateDefaultBrowserBeaconWithState below.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 key_path_.append(name.data(), name.size()); 144 key_path_.append(name.data(), name.size());
143 // This should never fail. If it does, the beacon will be written in the 145 // This should never fail. If it does, the beacon will be written in the
144 // key's default value, which is okay since the majority case is likely a 146 // key's default value, which is okay since the majority case is likely a
145 // machine with a single user. 147 // machine with a single user.
146 if (!base::win::GetUserSidString(&value_name_)) 148 if (!base::win::GetUserSidString(&value_name_))
147 NOTREACHED(); 149 NOTREACHED();
148 } 150 }
149 } 151 }
150 152
151 } // namespace installer_util 153 } // namespace installer_util
OLDNEW
« no previous file with comments | « chrome/installer/util/app_commands.h ('k') | chrome/installer/util/browser_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698