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

Unified Diff: ui/base/dialogs/select_file_dialog_win_unittest.cc

Issue 10698168: Part 3 of Move SelectFileDialog implementation to ui/base/dialogs/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More namespace to force rebuild. Created 8 years, 5 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 | « ui/base/dialogs/select_file_dialog_win.cc ('k') | ui/base/ui_base_exports.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dialogs/select_file_dialog_win_unittest.cc
diff --git a/chrome/browser/ui/views/select_file_dialog_win_unittest.cc b/ui/base/dialogs/select_file_dialog_win_unittest.cc
similarity index 81%
rename from chrome/browser/ui/views/select_file_dialog_win_unittest.cc
rename to ui/base/dialogs/select_file_dialog_win_unittest.cc
index ad86e7a76db5655918c613d7197c7cddd5e23bf0..f16c4d43e4ed68d67023227ce3d7b73a1d433fe6 100644
--- a/chrome/browser/ui/views/select_file_dialog_win_unittest.cc
+++ b/ui/base/dialogs/select_file_dialog_win_unittest.cc
@@ -1,8 +1,9 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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/ui/select_file_dialog.h"
+#include "ui/base/dialogs/select_file_dialog.h"
+#include "ui/base/dialogs/select_file_dialog_win.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(ShellDialogsWin, AppendExtensionIfNeeded) {
@@ -37,8 +38,8 @@ TEST(ShellDialogsWin, AppendExtensionIfNeeded) {
for (size_t i = 0; i < arraysize(test_cases); ++i) {
EXPECT_EQ(std::wstring(test_cases[i].expected_filename),
- AppendExtensionIfNeeded(test_cases[i].filename,
- test_cases[i].filter_selected,
- test_cases[i].suggested_ext));
+ ui::AppendExtensionIfNeeded(test_cases[i].filename,
+ test_cases[i].filter_selected,
+ test_cases[i].suggested_ext));
}
}
« no previous file with comments | « ui/base/dialogs/select_file_dialog_win.cc ('k') | ui/base/ui_base_exports.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698