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

Unified Diff: webkit/fileapi/mock_file_system_options.h

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years 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
Index: webkit/fileapi/mock_file_system_options.h
diff --git a/webkit/fileapi/mock_file_system_options.h b/webkit/fileapi/mock_file_system_options.h
new file mode 100644
index 0000000000000000000000000000000000000000..3b8db3b0a951856c9aaa7568fac8f2e0dfd8e9a6
--- /dev/null
+++ b/webkit/fileapi/mock_file_system_options.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_
+#define WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_
+
+#include "base/basictypes.h"
+#include "webkit/fileapi/file_system_options.h"
+
+namespace fileapi {
+
+// Default FileSystem options for testing.
+class MockFileSystemOptions : public FileSystemOptions {
+ public:
+ virtual bool is_incognito() const OVERRIDE { return false; }
+ virtual bool allow_file_access_from_files() const OVERRIDE { return true; }
+};
+
+} // namespace fileapi
+
+#endif // WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_

Powered by Google App Engine
This is Rietveld 408576698