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

Unified Diff: chrome_frame/chrome_launcher_unittest.cc

Issue 12211108: Rename FilePath -> base::FilePath in various toplevel directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « chrome_frame/chrome_frame_reporting.cc ('k') | chrome_frame/chrome_launcher_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_launcher_unittest.cc
diff --git a/chrome_frame/chrome_launcher_unittest.cc b/chrome_frame/chrome_launcher_unittest.cc
index 61c96dcd862d576770b71720df64ad0c167f16f9..0fa88a70d6c6422c67965d36fa2c18cb2a2e218c 100644
--- a/chrome_frame/chrome_launcher_unittest.cc
+++ b/chrome_frame/chrome_launcher_unittest.cc
@@ -9,7 +9,7 @@
#include "testing/gtest/include/gtest/gtest.h"
TEST(ChromeLauncher, IsValidCommandLine) {
- CommandLine bad(FilePath(L"dummy.exe"));
+ CommandLine bad(base::FilePath(L"dummy.exe"));
bad.AppendSwitch(switches::kNoFirstRun); // in whitelist
bad.AppendSwitch("no-such-switch"); // does not exist
bad.AppendSwitch(switches::kHomePage); // exists but not in whitelist
@@ -17,7 +17,7 @@ TEST(ChromeLauncher, IsValidCommandLine) {
EXPECT_FALSE(chrome_launcher::IsValidCommandLine(
bad.GetCommandLineString().c_str()));
- CommandLine good(FilePath(L"dummy.exe"));
+ CommandLine good(base::FilePath(L"dummy.exe"));
good.AppendSwitch(switches::kNoFirstRun); // in whitelist
good.AppendSwitch(switches::kDisableBackgroundMode); // in whitelist
good.AppendSwitchASCII(switches::kUserDataDir, "foo"); // in whitelist
@@ -25,11 +25,11 @@ TEST(ChromeLauncher, IsValidCommandLine) {
EXPECT_TRUE(chrome_launcher::IsValidCommandLine(
good.GetCommandLineString().c_str()));
- CommandLine no_params(FilePath(L"dummy.exe"));
+ CommandLine no_params(base::FilePath(L"dummy.exe"));
EXPECT_TRUE(chrome_launcher::IsValidCommandLine(
no_params.GetCommandLineString().c_str()));
- CommandLine empty(FilePath(L""));
+ CommandLine empty(base::FilePath(L""));
EXPECT_TRUE(chrome_launcher::IsValidCommandLine(
empty.GetCommandLineString().c_str()));
}
« no previous file with comments | « chrome_frame/chrome_frame_reporting.cc ('k') | chrome_frame/chrome_launcher_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698