OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_TEST_CONTENT_BROWSER_TEST_H_ | 5 #ifndef CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_H_ | 6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "content/public/test/browser_test.h" | 9 #include "content/public/test/browser_test.h" |
10 #include "content/public/test/browser_test_base.h" | 10 #include "content/public/test/browser_test_base.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 // Creates a new window and loads about:blank. | 32 // Creates a new window and loads about:blank. |
33 Shell* CreateBrowser(); | 33 Shell* CreateBrowser(); |
34 | 34 |
35 // Creates an off-the-record window and loads about:blank. | 35 // Creates an off-the-record window and loads about:blank. |
36 Shell* CreateOffTheRecordBrowser(); | 36 Shell* CreateOffTheRecordBrowser(); |
37 | 37 |
38 // Returns the window for the test. | 38 // Returns the window for the test. |
39 Shell* shell() const { return shell_; } | 39 Shell* shell() const { return shell_; } |
40 | 40 |
41 private: | 41 private: |
42 scoped_ptr<content::ShellMainDelegate> shell_main_delegate_; | 42 scoped_ptr<ShellMainDelegate> shell_main_delegate_; |
43 | 43 |
44 Shell* shell_; | 44 Shell* shell_; |
45 | 45 |
46 // ContentRendererClient when running in single-process mode. | 46 // ContentRendererClient when running in single-process mode. |
47 scoped_ptr<ContentRendererClient> single_process_renderer_client_; | 47 scoped_ptr<ContentRendererClient> single_process_renderer_client_; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace content | 50 } // namespace content |
51 | 51 |
52 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_ | 52 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_H_ |
OLD | NEW |