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/file_manager/select_file_dialog_util.h" | 5 #include "chrome/browser/chromeos/file_manager/select_file_dialog_util.h" |
6 | 6 |
7 #include "grit/generated_resources.h" | 7 #include "chrome/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 base::string16 GetSelectFileDialogTitle( | 13 base::string16 GetSelectFileDialogTitle( |
14 ui::SelectFileDialog::Type dialog_type) { | 14 ui::SelectFileDialog::Type dialog_type) { |
15 base::string16 title; | 15 base::string16 title; |
16 switch (dialog_type) { | 16 switch (dialog_type) { |
17 case ui::SelectFileDialog::SELECT_NONE: | 17 case ui::SelectFileDialog::SELECT_NONE: |
(...skipping 27 matching lines...) Expand all Loading... |
45 | 45 |
46 default: | 46 default: |
47 NOTREACHED(); | 47 NOTREACHED(); |
48 } | 48 } |
49 | 49 |
50 return title; | 50 return title; |
51 } | 51 } |
52 | 52 |
53 } // namespace util | 53 } // namespace util |
54 } // namespace file_manager | 54 } // namespace file_manager |
OLD | NEW |