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

Side by Side Diff: chrome/browser/browser_main_win.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/download/download_file.cc » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/common/win_util.h" 5 #include "chrome/browser/browser_main_win.h"
6 6
7 #include <windows.h>
7 #include <shellapi.h> 8 #include <shellapi.h>
8 #include <windows.h>
9
10 #include "chrome/browser/browser_main_win.h"
11 9
12 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
13 #include "app/message_box_flags.h" 11 #include "app/message_box_flags.h"
12 #include "app/win_util.h"
14 #include "base/command_line.h" 13 #include "base/command_line.h"
15 #include "base/path_service.h" 14 #include "base/path_service.h"
16 #include "base/win_util.h" 15 #include "base/win_util.h"
17 #include "chrome/browser/first_run.h" 16 #include "chrome/browser/first_run.h"
18 #include "chrome/browser/metrics/metrics_service.h" 17 #include "chrome/browser/metrics/metrics_service.h"
19 #include "chrome/browser/views/uninstall_dialog.h" 18 #include "chrome/browser/views/uninstall_dialog.h"
20 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
21 #include "chrome/common/env_vars.h" 20 #include "chrome/common/env_vars.h"
22 #include "chrome/common/result_codes.h" 21 #include "chrome/common/result_codes.h"
23 #include "chrome/installer/util/helper.h" 22 #include "chrome/installer/util/helper.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 184 }
186 185
187 // We record in UMA the conditions that can prevent breakpad from generating 186 // We record in UMA the conditions that can prevent breakpad from generating
188 // and sending crash reports. Namely that the crash reporting registration 187 // and sending crash reports. Namely that the crash reporting registration
189 // failed and that the process is being debugged. 188 // failed and that the process is being debugged.
190 void RecordBreakpadStatusUMA(MetricsService* metrics) { 189 void RecordBreakpadStatusUMA(MetricsService* metrics) {
191 DWORD len = ::GetEnvironmentVariableW(env_vars::kNoOOBreakpad, NULL, 0); 190 DWORD len = ::GetEnvironmentVariableW(env_vars::kNoOOBreakpad, NULL, 0);
192 metrics->RecordBreakpadRegistration((len == 0)); 191 metrics->RecordBreakpadRegistration((len == 0));
193 metrics->RecordBreakpadHasDebugger(TRUE == ::IsDebuggerPresent()); 192 metrics->RecordBreakpadHasDebugger(TRUE == ::IsDebuggerPresent());
194 } 193 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/download/download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698