Index: content/browser/debugger/devtools_sanity_unittest.h |
diff --git a/content/browser/debugger/devtools_sanity_unittest.h b/content/browser/debugger/devtools_sanity_unittest.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0f444ba3f27dbccc88bca5262701c27e43314d92 |
--- /dev/null |
+++ b/content/browser/debugger/devtools_sanity_unittest.h |
@@ -0,0 +1,33 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_ |
+#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_ |
+#pragma once |
+ |
+#include <string> |
+ |
+#include "base/task.h" |
+#include "chrome/test/in_process_browser_test.h" |
+ |
+class DevToolsWindow; |
+class RenderViewHost; |
+class TabContents; |
+ |
+class DevToolsSanityTest : public InProcessBrowserTest { |
+ public: |
+ DevToolsSanityTest(); |
+ |
+ protected: |
+ void RunTest(const std::string& test_name, const std::string& test_page); |
+ void OpenDevToolsWindow(const std::string& test_page); |
+ TabContents* GetInspectedTab(); |
+ void CloseDevToolsWindow(); |
+ |
+ TabContents* client_contents_; |
+ DevToolsWindow* window_; |
+ RenderViewHost* inspected_rvh_; |
+}; |
+ |
+#endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_ |