| Index: content/browser/download/base_file.h
|
| diff --git a/content/browser/download/base_file.h b/content/browser/download/base_file.h
|
| index 9016755ebc65d95ee6c7fa4e78192ee81821f015..f8ebc5fb5b638f78ebc4fae225e106c9e8effe1a 100644
|
| --- a/content/browser/download/base_file.h
|
| +++ b/content/browser/download/base_file.h
|
| @@ -107,6 +107,10 @@ class CONTENT_EXPORT BaseFile {
|
|
|
| virtual std::string DebugString() const;
|
|
|
| + // Sets whether the BaseFile should hide its file extension when presented in
|
| + // the Finder (MacOSX).
|
| + void set_hide_file_extension(bool hide_file_extension);
|
| +
|
| private:
|
| friend class BaseFileTest;
|
| FRIEND_TEST_ALL_PREFIXES(BaseFileTest, IsEmptyHash);
|
| @@ -181,6 +185,8 @@ class CONTENT_EXPORT BaseFile {
|
|
|
| net::BoundNetLog bound_net_log_;
|
|
|
| + bool hide_file_extension_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BaseFile);
|
| };
|
|
|
|
|