1 // Copyright 2013 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. 4 5 #ifndef CHROME_BROWSER_UI_APPS_DIRECTORY_ACCESS_CONFIRMATION_DIALOG_H_ 6 #define CHROME_BROWSER_UI_APPS_DIRECTORY_ACCESS_CONFIRMATION_DIALOG_H_ 7 8 #include "base/callback_forward.h" 9 #include "base/strings/string16.h" 10 11 namespace content { 12 class WebContents; 13 } 14 15 void CreateDirectoryAccessConfirmationDialog(bool writable, 16 const base::string16& app_name, 17 content::WebContents* web_contents, 18 const base::Closure& on_accept, 19 const base::Closure& on_cancel); 20 21 #endif // CHROME_BROWSER_UI_APPS_DIRECTORY_ACCESS_CONFIRMATION_DIALOG_H_ 22