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

Unified Diff: webkit/tools/test_shell/test_shell.h

Issue 18186: generate test_shell.pak and hook up loading net resources from (Closed)
Patch Set: Created 11 years, 11 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
Index: webkit/tools/test_shell/test_shell.h
diff --git a/webkit/tools/test_shell/test_shell.h b/webkit/tools/test_shell/test_shell.h
index 79ab497b1c125c014bdf39e5d572777d2fab26d6..ce25eb94a3e9700e572734551accce0f1d57c6fd 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();

Powered by Google App Engine
This is Rietveld 408576698