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

Unified Diff: base/event_recorder.h

Issue 99266: Deprecate wstring version of PathService::Get() in webkit. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « no previous file | base/event_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/event_recorder.h
===================================================================
--- base/event_recorder.h (revision 15017)
+++ base/event_recorder.h (working copy)
@@ -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 @@
// 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 @@
// 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();
« no previous file with comments | « no previous file | base/event_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698