| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |
| 6 #define WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "webkit/fileapi/file_system_options.h" |
| 10 |
| 11 namespace fileapi { |
| 12 |
| 13 // Default FileSystem options for testing. |
| 14 class MockFileSystemOptions : public FileSystemOptions { |
| 15 public: |
| 16 virtual bool is_incognito() const OVERRIDE { return false; } |
| 17 virtual bool allow_file_access_from_files() const OVERRIDE { return true; } |
| 18 }; |
| 19 |
| 20 } // namespace fileapi |
| 21 |
| 22 #endif // WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |
| OLD | NEW |