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

Side by Side Diff: content/app/startup_helper_win.cc

Issue 8414020: Expose the sandbox related code through the content API. I did a bit of cleanup while I was doing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/app/startup_helper_win.h" 5 #include "content/public/app/startup_helper_win.h"
6 6
7 #include <crtdbg.h> 7 #include <crtdbg.h>
8 #include <new.h> 8 #include <new.h>
9 9
10 #include "base/base_switches.h" 10 #include "base/base_switches.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/win/windows_version.h" 12 #include "base/win/windows_version.h"
13 #include "sandbox/src/dep.h" 13 #include "sandbox/src/dep.h"
14 #include "sandbox/src/sandbox_factory.h" 14 #include "sandbox/src/sandbox_factory.h"
15 15
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR); 60 _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR);
61 _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE); 61 _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
62 #else 62 #else
63 if (!command_line.HasSwitch(switches::kDisableBreakpad)) { 63 if (!command_line.HasSwitch(switches::kDisableBreakpad)) {
64 _CrtSetReportMode(_CRT_ASSERT, 0); 64 _CrtSetReportMode(_CRT_ASSERT, 0);
65 } 65 }
66 #endif 66 #endif
67 } 67 }
68 68
69 } // namespace content 69 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698