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

Side by Side Diff: base/logging.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/linux_util.h ('k') | base/logging_win.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef BASE_LOGGING_H_ 5 #ifndef BASE_LOGGING_H_
6 #define BASE_LOGGING_H_ 6 #define BASE_LOGGING_H_
7 #pragma once
8 7
9 #include <cassert> 8 #include <cassert>
10 #include <string> 9 #include <string>
11 #include <cstring> 10 #include <cstring>
12 #include <sstream> 11 #include <sstream>
13 12
14 #include "base/base_export.h" 13 #include "base/base_export.h"
15 #include "base/basictypes.h" 14 #include "base/basictypes.h"
16 #include "base/debug/debugger.h" 15 #include "base/debug/debugger.h"
17 #include "build/build_config.h" 16 #include "build/build_config.h"
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 #elif NOTIMPLEMENTED_POLICY == 4 973 #elif NOTIMPLEMENTED_POLICY == 4
975 #define NOTIMPLEMENTED() LOG(ERROR) << NOTIMPLEMENTED_MSG 974 #define NOTIMPLEMENTED() LOG(ERROR) << NOTIMPLEMENTED_MSG
976 #elif NOTIMPLEMENTED_POLICY == 5 975 #elif NOTIMPLEMENTED_POLICY == 5
977 #define NOTIMPLEMENTED() do {\ 976 #define NOTIMPLEMENTED() do {\
978 static int count = 0;\ 977 static int count = 0;\
979 LOG_IF(ERROR, 0 == count++) << NOTIMPLEMENTED_MSG;\ 978 LOG_IF(ERROR, 0 == count++) << NOTIMPLEMENTED_MSG;\
980 } while(0) 979 } while(0)
981 #endif 980 #endif
982 981
983 #endif // BASE_LOGGING_H_ 982 #endif // BASE_LOGGING_H_
OLDNEW
« no previous file with comments | « base/linux_util.h ('k') | base/logging_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698