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

Side by Side Diff: chrome/browser/chromeos/file_manager/select_file_dialog_util.cc

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "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 base::string16 GetSelectFileDialogTitle(
14 string16 title; 14 ui::SelectFileDialog::Type dialog_type) {
15 base::string16 title;
15 switch (dialog_type) { 16 switch (dialog_type) {
16 case ui::SelectFileDialog::SELECT_NONE: 17 case ui::SelectFileDialog::SELECT_NONE:
17 // Full page file manager doesn't need a title. 18 // Full page file manager doesn't need a title.
18 break; 19 break;
19 20
20 case ui::SelectFileDialog::SELECT_FOLDER: 21 case ui::SelectFileDialog::SELECT_FOLDER:
21 title = l10n_util::GetStringUTF16( 22 title = l10n_util::GetStringUTF16(
22 IDS_FILE_BROWSER_SELECT_FOLDER_TITLE); 23 IDS_FILE_BROWSER_SELECT_FOLDER_TITLE);
23 break; 24 break;
24 25
(...skipping 19 matching lines...) Expand all
44 45
45 default: 46 default:
46 NOTREACHED(); 47 NOTREACHED();
47 } 48 }
48 49
49 return title; 50 return title;
50 } 51 }
51 52
52 } // namespace util 53 } // namespace util
53 } // namespace file_manager 54 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/select_file_dialog_util.h ('k') | chrome/browser/chromeos/file_manager/url_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698