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

Side by Side Diff: content/public/test/browser_test_base.h

Issue 10837238: Move browser_test_base.h to content/public/test. I originally thought that content_browsertests wou… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « content/public/test/DEPS ('k') | content/test/browser_test_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_BROWSER_TEST_BASE_H_ 5 #ifndef CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_
6 #define CONTENT_TEST_BROWSER_TEST_BASE_H_ 6 #define CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "net/test/test_server.h" 10 #include "net/test/test_server.h"
11 11
12 class CommandLine; 12 class CommandLine;
13 13
14 namespace content {
15
14 class BrowserTestBase : public testing::Test { 16 class BrowserTestBase : public testing::Test {
15 public: 17 public:
16 BrowserTestBase(); 18 BrowserTestBase();
17 virtual ~BrowserTestBase(); 19 virtual ~BrowserTestBase();
18 20
19 // We do this so we can be used in a Task. 21 // We do this so we can be used in a Task.
20 void AddRef() {} 22 void AddRef() {}
21 void Release() {} 23 void Release() {}
22 24
23 // Configures everything for an in process browser test, then invokes 25 // Configures everything for an in process browser test, then invokes
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void ProxyRunTestOnMainThreadLoop(); 82 void ProxyRunTestOnMainThreadLoop();
81 83
82 // Testing server, started on demand. 84 // Testing server, started on demand.
83 scoped_ptr<net::TestServer> test_server_; 85 scoped_ptr<net::TestServer> test_server_;
84 86
85 #if defined(OS_POSIX) 87 #if defined(OS_POSIX)
86 bool handle_sigterm_; 88 bool handle_sigterm_;
87 #endif 89 #endif
88 }; 90 };
89 91
90 #endif // CONTENT_TEST_BROWSER_TEST_BASE_H_ 92 } // namespace content
93
94 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_BASE_H_
OLDNEW
« no previous file with comments | « content/public/test/DEPS ('k') | content/test/browser_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698