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

Side by Side Diff: chrome/common/dump_without_crashing.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/common/chrome_paths_internal.h ('k') | chrome/common/extensions/extension_file_util.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include "chrome/common/dump_without_crashing.h" 7 #include "chrome/common/dump_without_crashing.h"
8 8
9 #include "base/logging.h"
9 #include "chrome/common/chrome_constants.h" 10 #include "chrome/common/chrome_constants.h"
10 11
11 #if defined(OS_WIN) 12 #if defined(OS_WIN)
12 #include <windows.h> 13 #include <windows.h>
13 #endif 14 #endif
14 15
15 namespace { 16 namespace {
16 17
17 #if defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX) 18 #if defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX)
18 // Pointer to the function that's called by DumpWithoutCrashing() to dump the 19 // Pointer to the function that's called by DumpWithoutCrashing() to dump the
(...skipping 22 matching lines...) Expand all
41 #endif 42 #endif
42 } 43 }
43 44
44 #if defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX) 45 #if defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX)
45 void SetDumpWithoutCrashingFunction(void (*function)()) { 46 void SetDumpWithoutCrashingFunction(void (*function)()) {
46 dump_without_crashing_function_ = function; 47 dump_without_crashing_function_ = function;
47 } 48 }
48 #endif 49 #endif
49 50
50 } // namespace logging 51 } // namespace logging
OLDNEW
« no previous file with comments | « chrome/common/chrome_paths_internal.h ('k') | chrome/common/extensions/extension_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698