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

Side by Side Diff: content/browser/debugger/devtools_sanity_unittest.h

Issue 7309011: Remove dependencies on extensions from content/browser/debugger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_
7 #pragma once
8
9 #include <string>
10
11 #include "base/task.h"
12 #include "chrome/test/in_process_browser_test.h"
13
14 class DevToolsWindow;
15 class RenderViewHost;
16 class TabContents;
17
18 class CancelableQuitTask : public Task {
brettw 2011/07/06 16:56:32 Can you make this a member of DevToolsSanityTest s
Jói 2011/07/06 18:04:52 Taking another look at it, it's only used in chrom
19 public:
20 explicit CancelableQuitTask(const std::string& timeout_message);
21
22 void cancel();
23 virtual void Run();
24
25 private:
26 std::string timeout_message_;
27 bool cancelled_;
28 };
29
30 class DevToolsSanityTest : public InProcessBrowserTest {
31 public:
32 DevToolsSanityTest();
33
34 protected:
35 void RunTest(const std::string& test_name, const std::string& test_page);
36 void OpenDevToolsWindow(const std::string& test_page);
37 TabContents* GetInspectedTab();
38 void CloseDevToolsWindow();
39
40 TabContents* client_contents_;
41 DevToolsWindow* window_;
42 RenderViewHost* inspected_rvh_;
43 };
44
45 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_
OLDNEW
« no previous file with comments | « content/browser/debugger/devtools_protocol_handler.cc ('k') | content/browser/debugger/devtools_sanity_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698