summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-20 21:22:37 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-20 21:22:37 +0000
commit559fd2cc6db35d5dd473849836e5b31396936a73 (patch)
treee0cde62d5b6f120f64e1861299f8ae857278190c /webkit/tools/test_shell/test_shell.h
parent2306bbd5843b30f4e78a9342b60d580dce083794 (diff)
downloadchromium_src-559fd2cc6db35d5dd473849836e5b31396936a73.zip
chromium_src-559fd2cc6db35d5dd473849836e5b31396936a73.tar.gz
chromium_src-559fd2cc6db35d5dd473849836e5b31396936a73.tar.bz2
generate test_shell.pak and hook up loading net resources from
test_shell.pak. Move the net resource loading into the platform specific files (still a stub on osx). Review URL: http://codereview.chromium.org/18186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.h')
-rw-r--r--webkit/tools/test_shell/test_shell.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.h b/webkit/tools/test_shell/test_shell.h
index 79ab497..ce25eb9 100644
--- a/webkit/tools/test_shell/test_shell.h
+++ b/webkit/tools/test_shell/test_shell.h
@@ -48,6 +48,7 @@
typedef std::list<gfx::NativeWindow> WindowList;
struct WebPreferences;
+class StringPiece;
class TestNavigationEntry;
class TestNavigationController;
@@ -252,6 +253,9 @@ public:
// Show the "attach to me" dialog, for debugging test shell startup.
static void ShowStartupDebuggingDialog();
+ // This is called indirectly by the network layer to access resources.
+ static StringPiece NetResourceProvider(int key);
+
protected:
bool Initialize(const std::wstring& startingURL);
void SizeToSVG();