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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/shell/shell_url_request_context_getter.h ('k') | content/test/content_browser_test.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) 2011 The Chromium Authors. All rights reserved. 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 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_TEST_BROWSER_TEST_BASE_H_
6 #define CONTENT_TEST_BROWSER_TEST_BASE_H_ 6 #define CONTENT_TEST_BROWSER_TEST_BASE_H_
7 #pragma once
8 7
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
11 10
12 class BrowserTestBase : public testing::Test { 11 class BrowserTestBase : public testing::Test {
13 public: 12 public:
14 BrowserTestBase(); 13 BrowserTestBase();
15 virtual ~BrowserTestBase(); 14 virtual ~BrowserTestBase();
16 15
17 // We do this so we can be used in a Task. 16 // We do this so we can be used in a Task.
(...skipping 27 matching lines...) Expand all
45 // This is invoked from main after browser_init/browser_main have completed. 44 // This is invoked from main after browser_init/browser_main have completed.
46 // This prepares for the test by creating a new browser, runs the test 45 // This prepares for the test by creating a new browser, runs the test
47 // (RunTestOnMainThread), quits the browsers and returns. 46 // (RunTestOnMainThread), quits the browsers and returns.
48 virtual void RunTestOnMainThreadLoop() = 0; 47 virtual void RunTestOnMainThreadLoop() = 0;
49 48
50 private: 49 private:
51 void ProxyRunTestOnMainThreadLoop(); 50 void ProxyRunTestOnMainThreadLoop();
52 }; 51 };
53 52
54 #endif // CONTENT_TEST_BROWSER_TEST_BASE_H_ 53 #endif // CONTENT_TEST_BROWSER_TEST_BASE_H_
OLDNEW
« no previous file with comments | « content/shell/shell_url_request_context_getter.h ('k') | content/test/content_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698