| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/extensions/file_manager/select_file_dialog_uti
l.h" | 5 #include "chrome/browser/chromeos/file_manager/select_file_dialog_util.h" |
| 6 | 6 |
| 7 #include "grit/generated_resources.h" | 7 #include "grit/generated_resources.h" |
| 8 #include "ui/base/l10n/l10n_util.h" | 8 #include "ui/base/l10n/l10n_util.h" |
| 9 | 9 |
| 10 namespace file_manager { | 10 namespace file_manager { |
| 11 namespace util { | 11 namespace util { |
| 12 | 12 |
| 13 string16 GetSelectFileDialogTitle(ui::SelectFileDialog::Type dialog_type) { | 13 string16 GetSelectFileDialogTitle(ui::SelectFileDialog::Type dialog_type) { |
| 14 string16 title; | 14 string16 title; |
| 15 switch (dialog_type) { | 15 switch (dialog_type) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 default: | 45 default: |
| 46 NOTREACHED(); | 46 NOTREACHED(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 return title; | 49 return title; |
| 50 } | 50 } |
| 51 | 51 |
| 52 } // namespace util | 52 } // namespace util |
| 53 } // namespace file_manager | 53 } // namespace file_manager |
| OLD | NEW |