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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_api.cc

Issue 10669023: Start consolidating non-port specific code to ui/base/dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clenaup 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
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_private_api.h ('k') | chrome/browser/file_select_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_browser_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.cc b/chrome/browser/chromeos/extensions/file_browser_private_api.cc
index 2759457f7bc1c2b6d0f1a75448753c9c0c3fdc41..50ee8a6f362c08c2d59c4467fb0b0b3bdcfcf04b 100644
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.cc
@@ -45,11 +45,11 @@
#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
-#include "content/public/common/selected_file_info.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
#include "grit/platform_locale_settings.h"
#include "net/base/escape.h"
+#include "ui/base/dialogs/selected_file_info.h"
#include "ui/base/l10n/l10n_util.h"
#include "webkit/fileapi/file_system_context.h"
#include "webkit/fileapi/file_system_file_util.h"
@@ -809,7 +809,7 @@ void FileBrowserFunction::GetLocalPathsOnFileThread(
const UrlList& file_urls,
GetLocalPathsCallback callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- std::vector<content::SelectedFileInfo> selected_files;
+ std::vector<ui::SelectedFileInfo> selected_files;
// FilePath(virtual_path) doesn't work on win, so limit this to ChromeOS.
fileapi::ExternalFileSystemMountPointProvider* provider =
@@ -890,7 +890,7 @@ void FileBrowserFunction::GetLocalPathsOnFileThread(
DVLOG(1) << "Selected: real path: " << real_path.value()
<< " display name: " << display_name;
selected_files.push_back(
- content::SelectedFileInfo(real_path, display_name));
+ ui::SelectedFileInfo(real_path, display_name));
}
}
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_private_api.h ('k') | chrome/browser/file_select_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698