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

Unified Diff: chrome_frame/test_utils.cc

Issue 523040: Some Chrome Frame cleanup:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 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/test_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test_utils.cc
===================================================================
--- chrome_frame/test_utils.cc (revision 35533)
+++ chrome_frame/test_utils.cc (working copy)
@@ -19,13 +19,14 @@
#include "chrome/common/chrome_switches.h"
#include "testing/gtest/include/gtest/gtest.h"
+const wchar_t kChromeFrameDllName[] = L"npchrome_frame.dll";
+
// Statics
-
FilePath ScopedChromeFrameRegistrar::GetChromeFrameBuildPath() {
FilePath build_path;
PathService::Get(chrome::DIR_APP, &build_path);
build_path = build_path.Append(L"servers").
- Append(L"npchrome_tab.dll");
+ Append(kChromeFrameDllName);
file_util::PathExists(build_path);
return build_path;
}
@@ -92,7 +93,7 @@
file_util::AppendToPath(&reference_build_dir, L"reference_build");
file_util::AppendToPath(&reference_build_dir, L"chrome_frame");
file_util::AppendToPath(&reference_build_dir, L"servers");
- file_util::AppendToPath(&reference_build_dir, L"npchrome_tab.dll");
+ file_util::AppendToPath(&reference_build_dir, kChromeFrameDllName);
RegisterChromeFrameAtPath(reference_build_dir);
}
« no previous file with comments | « chrome_frame/test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698