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

Side by Side Diff: chrome/browser/first_run/upgrade_util_win.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/first_run/upgrade_util.h" 5 #include "chrome/browser/first_run/upgrade_util.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <psapi.h> 8 #include <psapi.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 10
11 #include <algorithm> 11 #include <algorithm>
12 #include <string> 12 #include <string>
13 13
14 #include "base/base_paths.h" 14 #include "base/base_paths.h"
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/environment.h" 16 #include "base/environment.h"
17 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
18 #include "base/files/file_util.h" 18 #include "base/files/file_util.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/macros.h"
20 #include "base/path_service.h" 21 #include "base/path_service.h"
21 #include "base/prefs/pref_service.h" 22 #include "base/prefs/pref_service.h"
22 #include "base/process/launch.h" 23 #include "base/process/launch.h"
23 #include "base/process/process_handle.h" 24 #include "base/process/process_handle.h"
24 #include "base/strings/string_number_conversions.h" 25 #include "base/strings/string_number_conversions.h"
25 #include "base/strings/string_util.h" 26 #include "base/strings/string_util.h"
26 #include "base/strings/stringprintf.h" 27 #include "base/strings/stringprintf.h"
27 #include "base/win/metro.h" 28 #include "base/win/metro.h"
28 #include "base/win/registry.h" 29 #include "base/win/registry.h"
29 #include "base/win/scoped_comptr.h" 30 #include "base/win/scoped_comptr.h"
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 return false; 314 return false;
314 // At this point the chrome.exe has been swapped with the new one. 315 // At this point the chrome.exe has been swapped with the new one.
315 if (!RelaunchChromeBrowser(command_line)) { 316 if (!RelaunchChromeBrowser(command_line)) {
316 // The re-launch fails. Feel free to panic now. 317 // The re-launch fails. Feel free to panic now.
317 NOTREACHED(); 318 NOTREACHED();
318 } 319 }
319 return true; 320 return true;
320 } 321 }
321 322
322 } // namespace upgrade_util 323 } // namespace upgrade_util
OLDNEW
« no previous file with comments | « chrome/browser/first_run/try_chrome_dialog_view_browsertest.cc ('k') | chrome/browser/font_family_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698