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

Side by Side Diff: chrome/tools/crash_service/crash_service.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/test/unit/unittests.vcproj ('k') | chrome/worker/worker_main.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/tools/crash_service/crash_service.h" 5 #include "chrome/tools/crash_service/crash_service.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include <iostream> 9 #include <iostream>
10 #include <fstream> 10 #include <fstream>
11 #include <map> 11 #include <map>
12 12
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "breakpad/src/client/windows/crash_generation/crash_generation_server.h " 17 #include "breakpad/src/client/windows/crash_generation/crash_generation_server.h "
18 #include "breakpad/src/client/windows/sender/crash_report_sender.h" 18 #include "breakpad/src/client/windows/sender/crash_report_sender.h"
19 #include "chrome/common/chrome_constants.h" 19 #include "chrome/common/chrome_constants.h"
20 #include "chrome/common/chrome_paths.h" 20 #include "chrome/common/chrome_paths.h"
21 #include "chrome/common/win_util.h"
22 21
23 // TODO(cpu): Bug 1169078. There is a laundry list of things to do for this 22 // TODO(cpu): Bug 1169078. There is a laundry list of things to do for this
24 // application. They will be addressed as they are required. 23 // application. They will be addressed as they are required.
25 24
26 namespace { 25 namespace {
27 26
28 const wchar_t kTestPipeName[] = L"\\\\.\\pipe\\ChromeCrashServices"; 27 const wchar_t kTestPipeName[] = L"\\\\.\\pipe\\ChromeCrashServices";
29 28
30 const wchar_t kCrashReportURL[] = L"https://clients2.google.com/cr/report"; 29 const wchar_t kCrashReportURL[] = L"https://clients2.google.com/cr/report";
31 const wchar_t kCheckPointFile[] = L"crash_checkpoint.txt"; 30 const wchar_t kCheckPointFile[] = L"crash_checkpoint.txt";
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 ::Sleep(50); 420 ::Sleep(50);
422 } 421 }
423 422
424 LOG(INFO) << "clients connected :" << clients_connected_; 423 LOG(INFO) << "clients connected :" << clients_connected_;
425 LOG(INFO) << "clients terminated :" << clients_terminated_; 424 LOG(INFO) << "clients terminated :" << clients_terminated_;
426 LOG(INFO) << "dumps serviced :" << requests_handled_; 425 LOG(INFO) << "dumps serviced :" << requests_handled_;
427 LOG(INFO) << "dumps reported :" << requests_sent_; 426 LOG(INFO) << "dumps reported :" << requests_sent_;
428 427
429 return static_cast<int>(msg.wParam); 428 return static_cast<int>(msg.wParam);
430 } 429 }
OLDNEW
« no previous file with comments | « chrome/test/unit/unittests.vcproj ('k') | chrome/worker/worker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698