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

Unified Diff: media/webm/chromeos/webm_encoder.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « media/filters/pipeline_integration_test_base.h ('k') | net/base/cert_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/webm/chromeos/webm_encoder.h
diff --git a/media/webm/chromeos/webm_encoder.h b/media/webm/chromeos/webm_encoder.h
index d0e74143aa714b409b15255eb201ae8b1c171ec8..cced7320585cc93cff50eb9d4cb7787f9b707141 100644
--- a/media/webm/chromeos/webm_encoder.h
+++ b/media/webm/chromeos/webm_encoder.h
@@ -18,9 +18,12 @@ extern "C" {
#include "third_party/libvpx/source/libvpx/vpx/vp8cx.h"
}
-class FilePath;
class SkBitmap;
+namespace base {
+class FilePath;
+}
+
namespace media {
namespace chromeos {
@@ -33,7 +36,7 @@ class MEDIA_EXPORT WebmEncoder {
public:
// Create new instance for writing to |output_path|. If |realtime| is |true|,
// uses realtime deadline, otherwise - "good quality" deadline.
- WebmEncoder(const FilePath& output_path, int bitrate, bool realtime);
+ WebmEncoder(const base::FilePath& output_path, int bitrate, bool realtime);
~WebmEncoder();
// Encodes video from a Nx(N*M) sprite, having M frames of size NxN with FPS
@@ -87,7 +90,7 @@ class MEDIA_EXPORT WebmEncoder {
// Stack with start offsets of currently open sub-elements.
std::stack<long int> ebml_sub_elements_;
- FilePath output_path_;
+ base::FilePath output_path_;
FILE* output_;
// True if an error occured while encoding/writing to file.
« no previous file with comments | « media/filters/pipeline_integration_test_base.h ('k') | net/base/cert_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698