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

Unified Diff: webkit/port/platform/LogWin.h

Issue 7419: Move many files that were suffixed Win.cpp to Chromium.cpp, and place them in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/port/platform/KeyEventWin.cpp ('k') | webkit/port/platform/LogWin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/platform/LogWin.h
===================================================================
--- webkit/port/platform/LogWin.h (revision 3423)
+++ webkit/port/platform/LogWin.h (working copy)
@@ -1,48 +0,0 @@
-// vim:set ts=4 sw=4 sts=4 cin et:
-//
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// This file defines a simple printf-style logging function that writes to the
-// debug console in visual studio. To enable logging, define LOG_ENABLE before
-// including this header file.
-//
-// Usage:
-//
-// {
-// LOG(("foo bar: %d", blah()));
-// ...
-// }
-//
-// Parameters are only evaluated in debug builds.
-//
-#ifndef LogWin_h
-#define LogWin_h
-#undef LOG
-
-#if defined(LOG_ENABLE) && !defined(NDEBUG)
-namespace WebCore {
- class LogPrintf {
- public:
- LogPrintf(const char* f, int l) : m_file(f), m_line(l) {}
- void __cdecl operator()(const char* format, ...);
- private:
- const char* m_file;
- int m_line;
- };
-}
-#define LOG(args) WebCore::LogPrintf(__FILE__, __LINE__) args
-#else
-#define LOG(args)
-#endif
-
-// Log a console message if a function is not implemented.
-#ifndef notImplemented
-#define notImplemented() do { \
- LOG(("FIXME: UNIMPLEMENTED %s()\n", __FUNCTION__)); \
-} while (0)
-#endif
-
-#endif
-
« no previous file with comments | « webkit/port/platform/KeyEventWin.cpp ('k') | webkit/port/platform/LogWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698