summaryrefslogtreecommitdiffstats
path: root/media/player
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-28 00:42:15 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-28 00:42:15 +0000
commit5a2a01231ea0020d6ac425b230c602ed972a5ed6 (patch)
treea171f34db169f18c98121edb410a8847cd3b5cf3 /media/player
parent5f41a72cd2d92ca1e160b9e3b4f2292458593435 (diff)
downloadchromium_src-5a2a01231ea0020d6ac425b230c602ed972a5ed6.zip
chromium_src-5a2a01231ea0020d6ac425b230c602ed972a5ed6.tar.gz
chromium_src-5a2a01231ea0020d6ac425b230c602ed972a5ed6.tar.bz2
stdafx for precompiled stdafx generation in media player.
Review URL: http://codereview.chromium.org/100074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14694 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/player')
-rw-r--r--media/player/stdafx.cc13
-rw-r--r--media/player/stdafx.h29
2 files changed, 42 insertions, 0 deletions
diff --git a/media/player/stdafx.cc b/media/player/stdafx.cc
new file mode 100644
index 0000000..18bba53
--- /dev/null
+++ b/media/player/stdafx.cc
@@ -0,0 +1,13 @@
+// Copyright (c) 2009 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.
+
+// stdafx.cpp : Source file that includes just the standard includes.
+// This file is in Microsoft coding style.
+
+#include "media/player/stdafx.h"
+
+#if (_ATL_VER < 0x0700)
+#include <atlimpl.cpp>
+#endif
+
diff --git a/media/player/stdafx.h b/media/player/stdafx.h
new file mode 100644
index 0000000..bd55969
--- /dev/null
+++ b/media/player/stdafx.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2009 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.
+
+// stdafx.h : Include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently.
+// This file is in Microsoft coding style.
+
+#ifndef MEDIA_PLAYER_STDAFX_H_
+#define MEDIA_PLAYER_STDAFX_H_
+
+// Change these values to use different versions.
+#define _RICHEDIT_VER 0x0100
+
+#pragma warning(disable: 4996)
+// warning C4996: '_vswprintf': This function or variable may be unsafe.
+// Consider using vswprintf_s instead. To disable deprecation,
+// use _CRT_SECURE_NO_WARNINGS. See online help for details.
+
+#include <atlbase.h>
+#include <atlapp.h>
+
+extern CAppModule _Module;
+
+#include <atlwin.h>
+
+#endif // MEDIA_PLAYER_STDAFX_H_
+