summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test_utils.h
diff options
context:
space:
mode:
authorslightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-01 01:38:59 +0000
committerslightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-01 01:38:59 +0000
commit43c698f773c0bbcf87b5486fbc4d2fbcb7a24dae (patch)
treefe9fa68354573cf9c6a00dd220a6096e81e58c45 /chrome_frame/test_utils.h
parentc664beb3d7ae2676c35db44d14eadd4b75c21164 (diff)
downloadchromium_src-43c698f773c0bbcf87b5486fbc4d2fbcb7a24dae.zip
chromium_src-43c698f773c0bbcf87b5486fbc4d2fbcb7a24dae.tar.gz
chromium_src-43c698f773c0bbcf87b5486fbc4d2fbcb7a24dae.tar.bz2
Test for GCF install flow auto-patching.
BUG=42790 TEST=run chrome_frame_tests.exe --gtest_filter=*InstallFlow* Review URL: http://codereview.chromium.org/1727018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test_utils.h')
-rw-r--r--chrome_frame/test_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome_frame/test_utils.h b/chrome_frame/test_utils.h
index a342a6c..ab8b03e 100644
--- a/chrome_frame/test_utils.h
+++ b/chrome_frame/test_utils.h
@@ -13,6 +13,7 @@
#include "base/file_path.h"
extern const wchar_t kChromeFrameDllName[];
+extern const wchar_t kChromeLauncherExeName[];
// Helper class used to register different chrome frame DLLs while running
// tests. The default constructor registers the DLL found in the build path.
@@ -29,12 +30,14 @@ class ScopedChromeFrameRegistrar {
virtual ~ScopedChromeFrameRegistrar();
void RegisterChromeFrameAtPath(const std::wstring& path);
+ void UnegisterChromeFrameAtPath(const std::wstring& path);
void RegisterReferenceChromeFrameBuild();
std::wstring GetChromeFrameDllPath() const;
static FilePath GetChromeFrameBuildPath();
static void RegisterAtPath(const std::wstring& path);
+ static void UnregisterAtPath(const std::wstring& path);
static void RegisterDefaults();
static std::wstring GetReferenceChromeFrameDllPath();