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

Unified Diff: chrome/browser/ui/webui/extensions/pack_extension_handler.cc

Issue 10698053: Breaks compile on Linux Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
Index: chrome/browser/ui/webui/extensions/pack_extension_handler.cc
===================================================================
--- chrome/browser/ui/webui/extensions/pack_extension_handler.cc (revision 144942)
+++ chrome/browser/ui/webui/extensions/pack_extension_handler.cc (working copy)
@@ -5,7 +5,6 @@
#include "chrome/browser/ui/webui/extensions/pack_extension_handler.h"
#include "chrome/browser/extensions/extension_creator.h"
-#include "chrome/browser/ui/chrome_select_file_policy.h"
#include "base/bind.h"
#include "base/utf_string_conversions.h"
#include "content/public/browser/web_contents.h"
@@ -178,13 +177,11 @@
NOTREACHED();
}
- load_extension_dialog_ = SelectFileDialog::Create(
- this, new ChromeSelectFilePolicy(web_ui()->GetWebContents()));
+ load_extension_dialog_ = SelectFileDialog::Create(this);
load_extension_dialog_->SelectFile(
type, select_title, FilePath(), &info, file_type_index,
- FILE_PATH_LITERAL(""),
- web_ui()->GetWebContents()->GetView()->GetTopLevelNativeWindow(),
- NULL);
+ FILE_PATH_LITERAL(""), web_ui()->GetWebContents(),
+ web_ui()->GetWebContents()->GetView()->GetTopLevelNativeWindow(), NULL);
}
void PackExtensionHandler::ShowAlert(const std::string& message) {

Powered by Google App Engine
This is Rietveld 408576698