summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/importer_lock_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/importer_lock_dialog.h')
-rw-r--r--chrome/browser/cocoa/importer_lock_dialog.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/importer_lock_dialog.h b/chrome/browser/cocoa/importer_lock_dialog.h
new file mode 100644
index 0000000..f526818
--- /dev/null
+++ b/chrome/browser/cocoa/importer_lock_dialog.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2009 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 CHROME_BROWSER_COCOA_IMPORTER_LOCK_DIALOG_H_
+#define CHROME_BROWSER_COCOA_IMPORTER_LOCK_DIALOG_H_
+
+class ImporterHost;
+
+namespace ImportLockDialogCocoa {
+
+// This function is called by an ImporterHost, and displays the Firefox profile
+// locked warning by creating a modal NSAlert. On the closing of the alert
+// box, the ImportHost receives a callback with the message either to skip the
+// import, or to try again.
+void ShowWarning(ImporterHost* importer);
+
+}
+
+#endif // CHROME_BROWSER_COCOA_IMPORTER_LOCK_DIALOG_H_