Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / importer / importer_lock_dialog.h
blob53b44273133ee7800cba44a78cb8754320178121
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.
5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_
8 #include "base/callback_forward.h"
9 #include "ui/gfx/native_widget_types.h"
11 namespace importer {
13 // This function is called by an ImporterHost, and presents the Firefox profile
14 // warning dialog. After closing the dialog, the ImportHost receives a callback
15 // with the message either to skip the import, or to continue the process.
16 void ShowImportLockDialog(gfx::NativeWindow parent,
17 const base::Callback<void(bool)>& callback);
19 } // namespace importer
21 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_