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

Side by Side Diff: base/debug/debug_on_start_win.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « base/debug/alias.h ('k') | base/debug/debugger.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) 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 // Define the necessary code and global data to look for kDebugOnStart command 5 // Define the necessary code and global data to look for kDebugOnStart command
6 // line argument. When the command line argument is detected, it invokes the 6 // line argument. When the command line argument is detected, it invokes the
7 // debugger, if no system-wide debugger is registered, a debug break is done. 7 // debugger, if no system-wide debugger is registered, a debug break is done.
8 8
9 #ifndef BASE_DEBUG_DEBUG_ON_START_WIN_H_ 9 #ifndef BASE_DEBUG_DEBUG_ON_START_WIN_H_
10 #define BASE_DEBUG_DEBUG_ON_START_WIN_H_ 10 #define BASE_DEBUG_DEBUG_ON_START_WIN_H_
11 #pragma once
12 11
13 #include "base/basictypes.h" 12 #include "base/basictypes.h"
14 #include "build/build_config.h" 13 #include "build/build_config.h"
15 14
16 // This only works on Windows. It's legal to include on other platforms, but 15 // This only works on Windows. It's legal to include on other platforms, but
17 // will be a NOP. 16 // will be a NOP.
18 #if defined(OS_WIN) 17 #if defined(OS_WIN)
19 18
20 #ifndef DECLSPEC_SELECTANY 19 #ifndef DECLSPEC_SELECTANY
21 #define DECLSPEC_SELECTANY __declspec(selectany) 20 #define DECLSPEC_SELECTANY __declspec(selectany)
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 #endif // _WIN64 74 #endif // _WIN64
76 75
77 #endif // defined(COMPONENT_BUILD) 76 #endif // defined(COMPONENT_BUILD)
78 77
79 } // namespace debug 78 } // namespace debug
80 } // namespace base 79 } // namespace base
81 80
82 #endif // defined(OS_WIN) 81 #endif // defined(OS_WIN)
83 82
84 #endif // BASE_DEBUG_DEBUG_ON_START_WIN_H_ 83 #endif // BASE_DEBUG_DEBUG_ON_START_WIN_H_
OLDNEW
« no previous file with comments | « base/debug/alias.h ('k') | base/debug/debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698