| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ATHENA_TEST_CHROME_ATHENA_BROWSERTEST_H_ | 5 #ifndef ATHENA_TEST_CHROME_ATHENA_BROWSERTEST_H_ |
| 6 #define ATHENA_TEST_CHROME_ATHENA_BROWSERTEST_H_ | 6 #define ATHENA_TEST_CHROME_ATHENA_BROWSERTEST_H_ |
| 7 | 7 |
| 8 #include "chrome/test/base/in_process_browser_test.h" | 8 #include "chrome/test/base/in_process_browser_test.h" |
| 9 | 9 |
| 10 namespace athena { | 10 namespace athena { |
| 11 | 11 |
| 12 // Base class for athena tests which allows to use WebActivities. | 12 // Base class for athena tests which allows to use WebActivities. |
| 13 // | 13 // |
| 14 // Note: To avoid asynchronous resource manager events, the memory pressure | 14 // Note: To avoid asynchronous resource manager events, the memory pressure |
| 15 // callback gets turned off at the beginning to a low memory pressure. | 15 // callback gets turned off at the beginning to a low memory pressure. |
| 16 class AthenaBrowserTest : public InProcessBrowserTest { | 16 class AthenaBrowserTest : public InProcessBrowserTest { |
| 17 public: | 17 public: |
| 18 AthenaBrowserTest(); | 18 AthenaBrowserTest(); |
| 19 virtual ~AthenaBrowserTest(); | 19 ~AthenaBrowserTest() override; |
| 20 | 20 |
| 21 protected: | 21 protected: |
| 22 // BrowserTestBase: | 22 // BrowserTestBase: |
| 23 virtual void SetUpOnMainThread() override; | 23 void SetUpOnMainThread() override; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(AthenaBrowserTest); | 26 DISALLOW_COPY_AND_ASSIGN(AthenaBrowserTest); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace athena | 29 } // namespace athena |
| 30 | 30 |
| 31 #endif // ATHENA_TEST_CHROME_ATHENA_BROWSERTEST_H_ | 31 #endif // ATHENA_TEST_CHROME_ATHENA_BROWSERTEST_H_ |
| 32 | 32 |
| OLD | NEW |