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

Unified Diff: content/test/content_browser_test_utils_internal.cc

Issue 2446743002: Remove WebFileChooserParams::initialValue (Closed)
Patch Set: Add browser test Created 4 years, 2 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: content/test/content_browser_test_utils_internal.cc
diff --git a/content/test/content_browser_test_utils_internal.cc b/content/test/content_browser_test_utils_internal.cc
index d3af538759c0d9d386e256d79e2e8770a202d622..8451203a6cc179554b41d81c680522c7a48d3da1 100644
--- a/content/test/content_browser_test_utils_internal.cc
+++ b/content/test/content_browser_test_utils_internal.cc
@@ -30,7 +30,6 @@
#include "content/public/browser/resource_dispatcher_host.h"
#include "content/public/browser/resource_throttle.h"
#include "content/public/common/file_chooser_file_info.h"
-#include "content/public/common/file_chooser_params.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
@@ -357,6 +356,7 @@ void FileChooserDelegate::RunFileChooser(RenderFrameHost* render_frame_host,
render_frame_host->FilesSelectedInChooser(files, FileChooserParams::Open);
file_chosen_ = true;
+ params_ = params;
}
FrameTestNavigationManager::FrameTestNavigationManager(

Powered by Google App Engine
This is Rietveld 408576698