diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-01 17:40:13 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-01 17:40:13 +0000 |
commit | 836f134c56bfa714217ca12a73482205c1480774 (patch) | |
tree | 5c5b9d938a712e09831bdd32022e1b3716c5fbdf /base/trace_event.h | |
parent | d46d6f3b80099ce0c630185a2e86b649bba49254 (diff) | |
download | chromium_src-836f134c56bfa714217ca12a73482205c1480774.zip chromium_src-836f134c56bfa714217ca12a73482205c1480774.tar.gz chromium_src-836f134c56bfa714217ca12a73482205c1480774.tar.bz2 |
Cross-platform wrappers for fopen, _wfopen_s, etc.
Patch by Paweł Hajdan jr <phajdan.jr@gmail.com>.
http://codereview.chromium.org/6005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2760 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/trace_event.h')
-rw-r--r-- | base/trace_event.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/base/trace_event.h b/base/trace_event.h index 932c784..fc531ec 100644 --- a/base/trace_event.h +++ b/base/trace_event.h @@ -73,12 +73,6 @@ #define TRACE_EVENT_INSTANT(name, id, extra) #endif -#if defined(OS_WIN) -typedef HANDLE FileHandle; -#else -typedef FILE* FileHandle; -#endif - namespace process_util { class ProcessMetrics; } @@ -129,7 +123,7 @@ class TraceLog { void Log(const std::string& msg); bool enabled_; - FileHandle log_file_; + FILE* log_file_; Lock file_lock_; TimeTicks trace_start_time_; scoped_ptr<process_util::ProcessMetrics> process_metrics_; |