summaryrefslogtreecommitdiff
path: root/chromium/components/password_manager/core/common/passwords_directory_util_ios.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/password_manager/core/common/passwords_directory_util_ios.h')
-rw-r--r--chromium/components/password_manager/core/common/passwords_directory_util_ios.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/components/password_manager/core/common/passwords_directory_util_ios.h b/chromium/components/password_manager/core/common/passwords_directory_util_ios.h
new file mode 100644
index 00000000000..f15be4fae04
--- /dev/null
+++ b/chromium/components/password_manager/core/common/passwords_directory_util_ios.h
@@ -0,0 +1,24 @@
+// Copyright 2018 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 COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORDS_DIRECTORY_UTIL_IOS_H_
+#define COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORDS_DIRECTORY_UTIL_IOS_H_
+
+namespace base {
+class FilePath;
+}
+
+namespace password_manager {
+
+// Fills |directory_path| with the FilePath to the passwords temporary
+// directory used for exporting passwords on iOS.
+// Returns true if this is successful.
+bool GetPasswordsDirectory(base::FilePath* directory_path);
+
+// Asynchronously deletes the temporary passwords directory.
+void DeletePasswordsDirectory();
+
+} // namespace password_manager
+
+#endif // COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORDS_DIRECTORY_UTIL_IOS_H_