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

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

Issue 2773293002: Various IWYU fixes. (Closed)
Patch Set: Created 3 years, 9 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
(...skipping 16 matching lines...) Expand all
27 #include "base/win/windows_version.h" 27 #include "base/win/windows_version.h"
28 #include "chrome/browser/browser_process.h" 28 #include "chrome/browser/browser_process.h"
29 #include "chrome/browser/first_run/upgrade_util_win.h" 29 #include "chrome/browser/first_run/upgrade_util_win.h"
30 #include "chrome/browser/shell_integration.h" 30 #include "chrome/browser/shell_integration.h"
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "chrome/common/pref_names.h" 32 #include "chrome/common/pref_names.h"
33 #include "chrome/install_static/install_util.h" 33 #include "chrome/install_static/install_util.h"
34 #include "chrome/installer/util/browser_distribution.h" 34 #include "chrome/installer/util/browser_distribution.h"
35 #include "chrome/installer/util/google_update_constants.h" 35 #include "chrome/installer/util/google_update_constants.h"
36 #include "chrome/installer/util/install_util.h" 36 #include "chrome/installer/util/install_util.h"
37 #include "chrome/installer/util/shell_util.h"
38 #include "chrome/installer/util/util_constants.h" 37 #include "chrome/installer/util/util_constants.h"
39 #include "components/prefs/pref_service.h" 38 #include "components/prefs/pref_service.h"
40 #include "ui/base/ui_base_switches.h" 39 #include "ui/base/ui_base_switches.h"
41 40
42 #if defined(GOOGLE_CHROME_BUILD) 41 #if defined(GOOGLE_CHROME_BUILD)
43 #include "google_update/google_update_idl.h" 42 #include "google_update/google_update_idl.h"
44 #endif 43 #endif
45 44
46 namespace { 45 namespace {
47 46
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 return false; 162 return false;
164 // At this point the chrome.exe has been swapped with the new one. 163 // At this point the chrome.exe has been swapped with the new one.
165 if (!RelaunchChromeBrowser(command_line)) { 164 if (!RelaunchChromeBrowser(command_line)) {
166 // The re-launch fails. Feel free to panic now. 165 // The re-launch fails. Feel free to panic now.
167 NOTREACHED(); 166 NOTREACHED();
168 } 167 }
169 return true; 168 return true;
170 } 169 }
171 170
172 } // namespace upgrade_util 171 } // namespace upgrade_util
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/metrics/chrome_metrics_services_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698