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

Side by Side Diff: ash/test/ash_interactive_ui_test_base.h

Issue 1871253002: aura: Require explicit ownership of the Env instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot.merge Created 4 years, 8 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ASH_TEST_ASH_INTERACTIVE_UI_TEST_BASE_H_ 5 #ifndef ASH_TEST_ASH_INTERACTIVE_UI_TEST_BASE_H_
6 #define ASH_TEST_ASH_INTERACTIVE_UI_TEST_BASE_H_ 6 #define ASH_TEST_ASH_INTERACTIVE_UI_TEST_BASE_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
11 #include "base/macros.h" 12 #include "base/macros.h"
12 13
14 namespace aura {
15 class Env;
16 }
17
13 namespace ash { 18 namespace ash {
14 namespace test { 19 namespace test {
15 20
16 class AshInteractiveUITestBase : public AshTestBase { 21 class AshInteractiveUITestBase : public AshTestBase {
17 public: 22 public:
18 AshInteractiveUITestBase(); 23 AshInteractiveUITestBase();
19 ~AshInteractiveUITestBase() override; 24 ~AshInteractiveUITestBase() override;
20 25
21 protected: 26 protected:
22 // testing::Test: 27 // testing::Test:
23 void SetUp() override; 28 void SetUp() override;
24 void TearDown() override; 29 void TearDown() override;
25 30
26 private: 31 private:
32 std::unique_ptr<aura::Env> env_;
27 DISALLOW_COPY_AND_ASSIGN(AshInteractiveUITestBase); 33 DISALLOW_COPY_AND_ASSIGN(AshInteractiveUITestBase);
28 }; 34 };
29 35
30 } // namespace test 36 } // namespace test
31 } // namespace ash 37 } // namespace ash
32 38
33 #endif // ASH_TEST_ASH_INTERACTIVE_UI_TEST_BASE_H_ 39 #endif // ASH_TEST_ASH_INTERACTIVE_UI_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ash/shell/content/client/shell_browser_main_parts.cc ('k') | ash/test/ash_interactive_ui_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698