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

Unified Diff: webkit/common/fileapi/file_system_mount_option.h

Issue 524983002: Move fileapi-related files from webkit/common/ to storage/common/ and set up redirect headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 6 years, 3 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 | « webkit/common/fileapi/file_system_info.cc ('k') | webkit/common/fileapi/file_system_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/fileapi/file_system_mount_option.h
diff --git a/webkit/common/fileapi/file_system_mount_option.h b/webkit/common/fileapi/file_system_mount_option.h
index a2ab732c83f3661375e0478d6e0ea91e32dba71b..fc7b325243c4b89c82337345787a4e7a99ce0af2 100644
--- a/webkit/common/fileapi/file_system_mount_option.h
+++ b/webkit/common/fileapi/file_system_mount_option.h
@@ -1,37 +1,5 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2014 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_COMMON_FILEAPI_FILE_SYSTEM_MOUNT_OPTION_H_
-#define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_MOUNT_OPTION_H_
-
-namespace storage {
-
-// Option for specifying if disk sync operation is wanted after copying.
-enum CopySyncOption {
- COPY_SYNC_OPTION_NO_SYNC,
- COPY_SYNC_OPTION_SYNC,
-};
-
-// Conveys options for a mounted file systems.
-class FileSystemMountOption {
- public:
- // Constructs with the default options.
- FileSystemMountOption()
- : copy_sync_option_(COPY_SYNC_OPTION_NO_SYNC) {}
-
- // Constructs with the specified component.
- explicit FileSystemMountOption(CopySyncOption copy_sync_option)
- : copy_sync_option_(copy_sync_option) {}
-
- CopySyncOption copy_sync_option() const {
- return copy_sync_option_;
- }
-
- private:
- CopySyncOption copy_sync_option_;
-};
-
-} // namespace storage
-
-#endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_MOUNT_OPTION_H_
+#include "storage/common/fileapi/file_system_mount_option.h"
« no previous file with comments | « webkit/common/fileapi/file_system_info.cc ('k') | webkit/common/fileapi/file_system_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698