summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_plugin_unittest.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 15:23:34 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 15:23:34 +0000
commit0e29223dd481cd628cfc1d07ee6a555c865432a4 (patch)
tree0c03427e5b23d03182d1e6e2f738e713d51ca553 /chrome/common/chrome_plugin_unittest.cc
parentaa268f5824938088f59c76b41978180b3e340caf (diff)
downloadchromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.zip
chromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.tar.gz
chromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.tar.bz2
Replace cases of Append(FILE_PATH_LITERAL()) with AppendASCII("").
Review URL: http://codereview.chromium.org/18499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_plugin_unittest.cc')
-rw-r--r--chrome/common/chrome_plugin_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/chrome_plugin_unittest.cc b/chrome/common/chrome_plugin_unittest.cc
index 39494a5..bf901b3 100644
--- a/chrome/common/chrome_plugin_unittest.cc
+++ b/chrome/common/chrome_plugin_unittest.cc
@@ -16,9 +16,9 @@
#include "testing/gtest/include/gtest/gtest.h"
namespace {
+
const wchar_t kDocRoot[] = L"chrome/test/data";
-const FilePath::CharType kPluginFilename[] =
- FILE_PATH_LITERAL("test_chrome_plugin.dll");
+const char kPluginFilename[] = "test_chrome_plugin.dll";
class ChromePluginTest : public testing::Test, public URLRequest::Delegate {
public:
@@ -120,7 +120,7 @@ static void STDCALL CPT_InvokeLater(TestFuncParams::CallbackFunc callback,
void ChromePluginTest::LoadPlugin() {
FilePath path;
PathService::Get(base::DIR_EXE, &path);
- path = path.Append(kPluginFilename);
+ path = path.AppendASCII(kPluginFilename);
plugin_ = ChromePluginLib::Create(path, GetCPBrowserFuncsForBrowser());
// Exchange test APIs with the plugin.