summaryrefslogtreecommitdiffstats
path: root/base/event_recorder.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-01 04:31:22 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-01 04:31:22 +0000
commit4f09393e0d9f357a271353b727246864378fdf17 (patch)
treec3b561d3384c9287cb11f545fa6adcae9b8d5a55 /base/event_recorder.h
parente0291ec704fd21a4e99e99c60766c768f58ebcb3 (diff)
downloadchromium_src-4f09393e0d9f357a271353b727246864378fdf17.zip
chromium_src-4f09393e0d9f357a271353b727246864378fdf17.tar.gz
chromium_src-4f09393e0d9f357a271353b727246864378fdf17.tar.bz2
Deprecate wstring version of PathService::Get() in webkit.
Review URL: http://codereview.chromium.org/99266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/event_recorder.h')
-rw-r--r--base/event_recorder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/event_recorder.h b/base/event_recorder.h
index 43278c6..29ed350 100644
--- a/base/event_recorder.h
+++ b/base/event_recorder.h
@@ -11,6 +11,8 @@
#endif
#include "base/basictypes.h"
+class FilePath;
+
namespace base {
// A class for recording and playing back keyboard and mouse input events.
@@ -39,7 +41,7 @@ class EventRecorder {
// Starts recording events.
// Will clobber the file if it already exists.
// Returns true on success, or false if an error occurred.
- bool StartRecording(const std::wstring& filename);
+ bool StartRecording(const FilePath& filename);
// Stops recording.
void StopRecording();
@@ -49,7 +51,7 @@ class EventRecorder {
// Plays events previously recorded.
// Returns true on success, or false if an error occurred.
- bool StartPlayback(const std::wstring& filename);
+ bool StartPlayback(const FilePath& filename);
// Stops playback.
void StopPlayback();