diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 22:01:57 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 22:01:57 +0000 |
commit | 8939e9ecf23f09460c91543c783bed0bac780014 (patch) | |
tree | bd6930f74b05846299da0283c9da3f4c39fa1b24 /webkit/port/platform/LogWin.h | |
parent | 10e42bf623bcc526e25d5b22760cce3d0766039b (diff) | |
download | chromium_src-8939e9ecf23f09460c91543c783bed0bac780014.zip chromium_src-8939e9ecf23f09460c91543c783bed0bac780014.tar.gz chromium_src-8939e9ecf23f09460c91543c783bed0bac780014.tar.bz2 |
Move many files that were suffixed Win.cpp to Chromium.cpp, and place them in chromium/ subdirectories. We still build these files with PLATFORM(WIN) defined.
In this change, I also killed off LogWin.{h,cpp} since we don't use it. So, you will see some changes related to that.
R=dglazkov,tony
Review URL: http://codereview.chromium.org/7419
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform/LogWin.h')
-rw-r--r-- | webkit/port/platform/LogWin.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/webkit/port/platform/LogWin.h b/webkit/port/platform/LogWin.h deleted file mode 100644 index dfbfb77..0000000 --- a/webkit/port/platform/LogWin.h +++ /dev/null @@ -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 - |