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

Side by Side Diff: content/shell/config.h

Issue 10696166: Remove #pragma once from content (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
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 CONTENT_SHELL_CONFIG_H_ 5 #ifndef CONTENT_SHELL_CONFIG_H_
6 #define CONTENT_SHELL_CONFIG_H_ 6 #define CONTENT_SHELL_CONFIG_H_
7 #pragma once
8 7
9 // Required to build WebTestingSupport. 8 // Required to build WebTestingSupport.
10 9
11 // To avoid confict of LOG in wtf/Assertions.h and LOG in base/logging.h, 10 // To avoid confict of LOG in wtf/Assertions.h and LOG in base/logging.h,
12 // skip base/logging.h by defining BASE_LOGGING_H_ and define some macros 11 // skip base/logging.h by defining BASE_LOGGING_H_ and define some macros
13 // provided by base/logging.h. 12 // provided by base/logging.h.
14 // FIXME: Remove this hack! 13 // FIXME: Remove this hack!
15 #include <ostream> 14 #include <ostream>
16 #define BASE_LOGGING_H_ 15 #define BASE_LOGGING_H_
17 #define CHECK(condition) while (false && (condition)) std::cerr 16 #define CHECK(condition) while (false && (condition)) std::cerr
18 #define DCHECK(condition) while (false && (condition)) std::cerr 17 #define DCHECK(condition) while (false && (condition)) std::cerr
19 #define DCHECK_EQ(a, b) while (false && (a) == (b)) std::cerr 18 #define DCHECK_EQ(a, b) while (false && (a) == (b)) std::cerr
20 #define DCHECK_NE(a, b) while (false && (a) != (b)) std::cerr 19 #define DCHECK_NE(a, b) while (false && (a) != (b)) std::cerr
21 20
22 #include <wtf/Platform.h> 21 #include <wtf/Platform.h>
23 #include <wtf/ExportMacros.h> 22 #include <wtf/ExportMacros.h>
24 23
25 #if OS(WINDOWS) && !COMPILER(GCC) 24 #if OS(WINDOWS) && !COMPILER(GCC)
26 // Allow 'this' to be used in base member initializer list. 25 // Allow 'this' to be used in base member initializer list.
27 #pragma warning(disable : 4355) 26 #pragma warning(disable : 4355)
28 #endif 27 #endif
29 28
30 #endif // CONTENT_SHELL_CONFIG_H_ 29 #endif // CONTENT_SHELL_CONFIG_H_
OLDNEW
« no previous file with comments | « content/renderer/websharedworkerrepository_impl.h ('k') | content/shell/geolocation/shell_access_token_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698