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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/select_file_dialog_util.cc

Issue 23945002: file_manager: Move non-binding code to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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/chromeos/extensions/file_manager/select_file_dialog_util.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/select_file_dialog_util.cc b/chrome/browser/chromeos/extensions/file_manager/select_file_dialog_util.cc
deleted file mode 100644
index fa5c530543605a49fb0a2e10cd1ceb5e924044c0..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/extensions/file_manager/select_file_dialog_util.cc
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/chromeos/extensions/file_manager/select_file_dialog_util.h"
-
-#include "grit/generated_resources.h"
-#include "ui/base/l10n/l10n_util.h"
-
-namespace file_manager {
-namespace util {
-
-string16 GetSelectFileDialogTitle(ui::SelectFileDialog::Type dialog_type) {
- string16 title;
- switch (dialog_type) {
- case ui::SelectFileDialog::SELECT_NONE:
- // Full page file manager doesn't need a title.
- break;
-
- case ui::SelectFileDialog::SELECT_FOLDER:
- title = l10n_util::GetStringUTF16(
- IDS_FILE_BROWSER_SELECT_FOLDER_TITLE);
- break;
-
- case ui::SelectFileDialog::SELECT_UPLOAD_FOLDER:
- title = l10n_util::GetStringUTF16(
- IDS_FILE_BROWSER_SELECT_UPLOAD_FOLDER_TITLE);
- break;
-
- case ui::SelectFileDialog::SELECT_SAVEAS_FILE:
- title = l10n_util::GetStringUTF16(
- IDS_FILE_BROWSER_SELECT_SAVEAS_FILE_TITLE);
- break;
-
- case ui::SelectFileDialog::SELECT_OPEN_FILE:
- title = l10n_util::GetStringUTF16(
- IDS_FILE_BROWSER_SELECT_OPEN_FILE_TITLE);
- break;
-
- case ui::SelectFileDialog::SELECT_OPEN_MULTI_FILE:
- title = l10n_util::GetStringUTF16(
- IDS_FILE_BROWSER_SELECT_OPEN_MULTI_FILE_TITLE);
- break;
-
- default:
- NOTREACHED();
- }
-
- return title;
-}
-
-} // namespace util
-} // namespace file_manager

Powered by Google App Engine
This is Rietveld 408576698