diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-10 04:49:30 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-10 04:49:30 +0000 |
commit | 6d4b67a4b50d73d5001aec99014ac40bc504871a (patch) | |
tree | 4f85ee41ed1fad3dc68381e0fe4f23dbeecf1364 /chrome_frame/chrome_launcher_unittest.cc | |
parent | 650b2d5cdcab7d2c473c00d15b9f343f3a3405bb (diff) | |
download | chromium_src-6d4b67a4b50d73d5001aec99014ac40bc504871a.zip chromium_src-6d4b67a4b50d73d5001aec99014ac40bc504871a.tar.gz chromium_src-6d4b67a4b50d73d5001aec99014ac40bc504871a.tar.bz2 |
Rename FilePath -> base::FilePath in various toplevel directories
Review URL: https://codereview.chromium.org/12211108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_launcher_unittest.cc')
-rw-r--r-- | chrome_frame/chrome_launcher_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome_frame/chrome_launcher_unittest.cc b/chrome_frame/chrome_launcher_unittest.cc index 61c96dc..0fa88a7 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())); } |