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

Unified Diff: ui/shell_dialogs/select_file_dialog_win_unittest.cc

Issue 15200005: Grab bag of clang fixes for Windows code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ptr and cast style Created 7 years, 7 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 | « third_party/leveldatabase/port/port_chromium.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell_dialogs/select_file_dialog_win_unittest.cc
diff --git a/ui/shell_dialogs/select_file_dialog_win_unittest.cc b/ui/shell_dialogs/select_file_dialog_win_unittest.cc
index 1c0e892f61a29d1e70a7b7d9b183dc885d34f142..d9f0cd665ebc84c364e06539b6153561bce9d3b3 100644
--- a/ui/shell_dialogs/select_file_dialog_win_unittest.cc
+++ b/ui/shell_dialogs/select_file_dialog_win_unittest.cc
@@ -8,10 +8,10 @@
TEST(ShellDialogsWin, AppendExtensionIfNeeded) {
struct AppendExtensionTestCase {
- wchar_t* filename;
- wchar_t* filter_selected;
- wchar_t* suggested_ext;
- wchar_t* expected_filename;
+ const wchar_t* filename;
+ const wchar_t* filter_selected;
+ const wchar_t* suggested_ext;
+ const wchar_t* expected_filename;
} test_cases[] = {
// Known extensions, with or without associated MIME types, should not get
// an extension appended.
« no previous file with comments | « third_party/leveldatabase/port/port_chromium.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698